Skip to content

Commit

Permalink
Npm installation improved
Browse files Browse the repository at this point in the history
  • Loading branch information
yousufkalim committed Jul 2, 2022
1 parent 556f10e commit 3a94fa5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/eslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ export const runEslint = async (inputs: Inputs): Promise<void> => {

const execOptions = [path.resolve(inputs.binPath, 'eslint'), ...files, ...inputs.eslintArgs].filter(Boolean);

await exec('npm', ['npm i && npm i eslint-config-airbnb eslint-plugin-spellcheck']);
await exec('npm i');
await exec('node', execOptions);
};

0 comments on commit 3a94fa5

Please sign in to comment.