Skip to content

Commit

Permalink
Fix arguments blunder
Browse files Browse the repository at this point in the history
  • Loading branch information
0x2b3bfa0 committed Dec 7, 2022
1 parent 524b68d commit 18316ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cml.js
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ class CML {
await exec('git', 'checkout', '-B', target, sha);

if (paths.length) {
await exec('git', 'add', paths.join(' '));
await exec('git', 'add', ...paths);
let commitMessage = message || `CML PR for ${shaShort}`;
if (skipCi || (!message && !(merge || rebase || squash))) {
commitMessage += ' [skip ci]';
Expand Down

2 comments on commit 18316ee

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

Please sign in to comment.