Skip to content

Commit 9fe2fb9

Browse files
authored
Chore: Update message when package-lock.json should be updated
No need to remove lock file anymore.
1 parent 6bbc892 commit 9fe2fb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dangerfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ const lockfileChanged = danger.git.modified_files.includes('package-lock.json');
55
if (packageChanged && !lockfileChanged) {
66
warn(`Changes were made to package.json, but not to package-lock.json.
77
8-
Perhaps you need to run \`rm package-lock.json && npm install\`. Make sure you’re using npm 5+.`);
8+
Perhaps you need to run \`npm install\` and commit changes in package-lock.json.. Make sure you’re using npm 5+.`);
99
}

0 commit comments

Comments
 (0)