From 76cf26b44f3055fb5b7d5b1e0d51da9a1b5df515 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iiro=20Ja=CC=88ppinen?= Date: Fri, 3 Apr 2020 08:52:45 +0300 Subject: [PATCH] fix: add --index flag to help text --- lib/runAll.js | 2 +- test/runAll.unmocked.2.spec.js | 2 +- test/runAll.unmocked.spec.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/runAll.js b/lib/runAll.js index 328efa5d9..ef6ca672d 100644 --- a/lib/runAll.js +++ b/lib/runAll.js @@ -254,7 +254,7 @@ const runAll = async ( > git stash list stash@{0}: On master: automatic lint-staged backup - > git stash pop stash@{0}\n`) + > git stash apply --index stash@{0}\n`) } } diff --git a/test/runAll.unmocked.2.spec.js b/test/runAll.unmocked.2.spec.js index 86aea6588..b20fb3477 100644 --- a/test/runAll.unmocked.2.spec.js +++ b/test/runAll.unmocked.2.spec.js @@ -124,7 +124,7 @@ describe('runAll', () => { > git stash list stash@{0}: On master: automatic lint-staged backup - > git stash pop stash@{0} + > git stash apply --index stash@{0} " `) }) diff --git a/test/runAll.unmocked.spec.js b/test/runAll.unmocked.spec.js index 922ca402d..3a7a82217 100644 --- a/test/runAll.unmocked.spec.js +++ b/test/runAll.unmocked.spec.js @@ -428,7 +428,7 @@ describe('runAll', () => { > git stash list stash@{0}: On master: automatic lint-staged backup - > git stash pop stash@{0} + > git stash apply --index stash@{0} " `)