We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42f0cd3 commit 6bbc534Copy full SHA for 6bbc534
index.js
@@ -31,7 +31,7 @@ async function run () {
31
await execa('git', ['add', files])
32
33
// Check if there are staged changes.
34
- const args = ['diff', '--staged', '--names-only']
+ const args = ['diff', '--staged', '--name-only']
35
const { stdout: hasStaged } = await execa('git', args)
36
if (hasStaged) {
37
// Commit the changes.
0 commit comments