Skip to content

Commit

Permalink
Bug fixed in npm installation
Browse files Browse the repository at this point in the history
  • Loading branch information
yousufkalim committed Jul 5, 2022
1 parent 1038085 commit e0da4ff
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ All notable changes to this project will be documented in this file.
> - Internal
> - Unreleased
## v2.0.2

#### Bug Fixes

- Bug fixed in npm installation

## v2.0.1

#### Bug Fixes
Expand Down
3 changes: 2 additions & 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.

4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-action",
"version": "2.0.1",
"version": "2.0.2",
"description": "Run ESLint on files changed in a pull request with inline error and warning annotations",
"author": "yousufkalim",
"license": "MIT",
Expand Down
3 changes: 2 additions & 1 deletion src/eslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ export const runEslint = async (inputs: Inputs): Promise<void> => {
const execOptions = [path.resolve(inputs.binPath, 'eslint'), ...files, ...inputs.eslintArgs].filter(Boolean);

// Installing required libs
await exec('npm i eslint eslint-config-airbnb eslint-plugin-spellcheck prettier --force --legacy-peer-deps');
await exec('npm install --force --legacy-peer-deps');
await exec('npm i eslint-config-airbnb eslint-plugin-spellcheck prettier');

// if auto-fix-before-test is true, then run prettier on the files
if (inputs.autofix) {
Expand Down

0 comments on commit e0da4ff

Please sign in to comment.