Fix lint errors: add eslint-disable for __dirname, fix no-use-before-define
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -39,6 +39,7 @@ function findPreviewBundlePath(): string {
|
||||
// This can be tested by running `yarn pack` and extracting the resulting tarball into a directory.
|
||||
// Within the extracted directory, run `npm install --only=prod`.
|
||||
// Once that's done you can test the CLI in any directory using `node <tmp-dir>/package <command>`.
|
||||
/* eslint-disable-next-line no-restricted-syntax */
|
||||
return findOwnPaths(__dirname).resolve('dist/embedded-app');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user