ソースを参照

More friendly error message

Jason Grout 6 年 前
コミット
b45714f11a
1 ファイル変更3 行追加1 行削除
  1. 3 1
      buildutils/src/utils.ts

+ 3 - 1
buildutils/src/utils.ts

@@ -130,7 +130,9 @@ export function prebump() {
 
   // Make sure we start in a clean git state.
   if (checkStatus('test -z "$(git status --porcelain)"') !== 0) {
-    throw new Error('Must be in a clean git state with no untracked files.');
+    throw new Error(
+      'Must be in a clean git state with no untracked files. Run "git status" to see the issues.'
+    );
   }
 }