diff options
Diffstat (limited to 'src/helpers')
-rw-r--r-- | src/helpers/async-helpers.ts | 1 | ||||
-rw-r--r-- | src/helpers/recipe-helpers.ts | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/helpers/async-helpers.ts b/src/helpers/async-helpers.ts index 6b1f24b5a..56051b065 100644 --- a/src/helpers/async-helpers.ts +++ b/src/helpers/async-helpers.ts | |||
@@ -1,3 +1,4 @@ | |||
1 | export function sleep(ms: number = 0) { | 1 | export function sleep(ms: number = 0) { |
2 | // eslint-disable-next-line no-promise-executor-return | ||
2 | return new Promise(r => setTimeout(r, ms)); | 3 | return new Promise(r => setTimeout(r, ms)); |
3 | } | 4 | } |
diff --git a/src/helpers/recipe-helpers.ts b/src/helpers/recipe-helpers.ts index d482dffab..93c107cc5 100644 --- a/src/helpers/recipe-helpers.ts +++ b/src/helpers/recipe-helpers.ts | |||
@@ -1,3 +1,4 @@ | |||
1 | /* eslint-disable import/no-import-module-exports */ | ||
1 | /* eslint-disable global-require */ | 2 | /* eslint-disable global-require */ |
2 | import { parse } from 'path'; | 3 | import { parse } from 'path'; |
3 | import { userDataRecipesPath } from '../environment-remote'; | 4 | import { userDataRecipesPath } from '../environment-remote'; |