Skip to content

Commit

Permalink
Whitespace changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kfcampbell committed Dec 6, 2023
1 parent 3e17c8e commit fe64f59
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -735,11 +735,11 @@ async function main() {
}

if (inputs.path) {
core.debug(`Committing local changes matching "${inputs.path}"`);
await runShellCommand(`git add "${inputs.path}"`);
} else {
core.debug(`Committing all local changes`);
await runShellCommand("git add .");
core.debug(`Committing local changes matching "${inputs.path}"`);
await runShellCommand(`git add "${inputs.path}"`);
} else {
core.debug(`Committing all local changes`);
await runShellCommand("git add .");
}

await runShellCommand(
Expand Down
10 changes: 5 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@ async function main() {
}

if (inputs.path) {
core.debug(`Committing local changes matching "${inputs.path}"`);
await runShellCommand(`git add "${inputs.path}"`);
} else {
core.debug(`Committing all local changes`);
await runShellCommand("git add .");
core.debug(`Committing local changes matching "${inputs.path}"`);
await runShellCommand(`git add "${inputs.path}"`);
} else {
core.debug(`Committing all local changes`);
await runShellCommand("git add .");
}

await runShellCommand(
Expand Down

0 comments on commit fe64f59

Please sign in to comment.