Skip to content

Commit

Permalink
Merge pull request #138 from snyk/feat/improve-error-message-for-npm7…
Browse files Browse the repository at this point in the history
…+-projects

feat: Improve error msg for npm 7+ projects
  • Loading branch information
robcresswell authored Jan 18, 2022
2 parents 0d2e8a2 + b45b5fb commit 15ffcf5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/errors/out-of-sync-error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ import { LockfileType } from '../parsers';

const LOCK_FILE_NAME = {
npm: 'package-lock.json',
npm7: 'package-lock.json',
yarn: 'yarn.lock',
yarn2: 'yarn.lock',
};

const INSTALL_COMMAND = {
npm: 'npm install',
npm7: 'npm install',
yarn: 'yarn install',
yarn2: 'yarn install',
};
Expand Down

0 comments on commit 15ffcf5

Please sign in to comment.