From 8b278d6fae077969ad707df61bfdaeeda8ce5b28 Mon Sep 17 00:00:00 2001 From: hypnos Date: Wed, 15 Nov 2017 23:36:37 +0300 Subject: [PATCH] Add `--reset` to lockfile update instruction --- scripts/repo-dirty-check.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/repo-dirty-check.js b/scripts/repo-dirty-check.js index db7f689918f..02d921e459f 100644 --- a/scripts/repo-dirty-check.js +++ b/scripts/repo-dirty-check.js @@ -4,7 +4,7 @@ const shell = require('shelljs'); // exit with code 1 if there are some changed files if (shell.exec('git status --porcelain').stdout.trim() !== '') { console.error( - 'Git repo is dirty, please consider updating lockfiles by running `yarn bootstrap --core --docs`' + 'Git repo is dirty, please consider updating lockfiles by running `yarn bootstrap --reset --core --docs`' ); process.exit(1); }