Skip to content

Commit

Permalink
fix: use save instead of push for backwards comp
Browse files Browse the repository at this point in the history
  • Loading branch information
Iiro Jäppinen committed Jun 19, 2019
1 parent 6b4074c commit 0abb534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gitWorkflow.js
Expand Up @@ -7,7 +7,7 @@ const execGit = require('./execGit')
async function saveStagedFiles(options) {
debug('Saving modified files...')
// Stash changed changes
await execGit(['stash', 'push', '-m temporary lint-staged stash'], options)
await execGit(['stash', 'save', 'temporary lint-staged stash'], options)

// Restore changed files back
await execGit(['stash', 'apply', '--index'], options)
Expand Down

0 comments on commit 0abb534

Please sign in to comment.