diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/api/server/ServerApi.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/server/ServerApi.ts b/src/api/server/ServerApi.ts index ab6866b13..b5dd499ab 100644 --- a/src/api/server/ServerApi.ts +++ b/src/api/server/ServerApi.ts | |||
@@ -379,7 +379,8 @@ export default class ServerApi { | |||
379 | .filter(recipe => recipe.id); | 379 | .filter(recipe => recipe.id); |
380 | 380 | ||
381 | // @ts-expect-error Type 'boolean' is not assignable to type 'ConcatArray<IRecipe>'. | 381 | // @ts-expect-error Type 'boolean' is not assignable to type 'ConcatArray<IRecipe>'. |
382 | this.recipes = [...this.recipes, ...this._getDevRecipes()]; | 382 | // eslint-disable-next-line unicorn/prefer-spread |
383 | this.recipes = this.recipes.concat(this._getDevRecipes()); | ||
383 | 384 | ||
384 | debug('StubServerApi::getInstalledRecipes resolves', this.recipes); | 385 | debug('StubServerApi::getInstalledRecipes resolves', this.recipes); |
385 | return this.recipes; | 386 | return this.recipes; |