Skip to content

Commit

Permalink
Merge pull request #2445 from UpstartMPotnick/remove-extra-quotes-aro…
Browse files Browse the repository at this point in the history
…und-commitmessage

fix: remove extra quotes surrounding commitMessage
  • Loading branch information
hipstersmoothie authored Mar 20, 2024
2 parents f124234 + b44b40e commit b8d1af6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions plugins/npm/__tests__/npm.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ describe("publish", () => {
"--yes",
"--no-push",
"-m",
"'\"Bump version to: %s [skip ci]\"'",
"\"Bump version to: %s [skip ci]\"",
false,
]);
});
Expand Down Expand Up @@ -645,7 +645,7 @@ describe("publish", () => {
"--yes",
"--no-push",
"-m",
"'\"Bump version to: %s [skip ci]\"'",
"\"Bump version to: %s [skip ci]\"",
false,
]);
});
Expand Down Expand Up @@ -674,7 +674,7 @@ describe("publish", () => {
"--yes",
"--no-push",
"-m",
"'\"Bump version to: %s [skip ci]\"'",
"\"Bump version to: %s [skip ci]\"",
"--exact",
]);

Expand Down Expand Up @@ -881,7 +881,7 @@ describe("publish", () => {
"--yes",
"--no-push",
"-m",
"'\"Bump version to: %s [skip ci]\"'",
"\"Bump version to: %s [skip ci]\"",
false,
]);
});
Expand Down Expand Up @@ -924,7 +924,7 @@ describe("publish", () => {
"--yes",
"--no-push",
"-m",
"'\"[skip ci] Custom version commit message\"'",
"\"[skip ci] Custom version commit message\"",
false,
]);
});
Expand Down Expand Up @@ -967,7 +967,7 @@ describe("publish", () => {
"--yes",
"--no-push",
"-m",
"'\"Custom version commit message [skip ci]\"'",
"\"Custom version commit message [skip ci]\"",
false,
]);
});
Expand Down Expand Up @@ -1529,7 +1529,7 @@ describe("canary", () => {
"--yes",
"--no-push",
"-m",
`'"Bump independent versions [skip ci]"'`,
"\"Bump independent versions [skip ci]\"",
false,
]);
});
Expand Down
2 changes: 1 addition & 1 deletion plugins/npm/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@ export default class NPMPlugin implements IPlugin {
"--yes",
"--no-push",
"-m",
`'"${commitMessage}"'`,
`"${commitMessage}"`,
this.exact && "--exact",
...verboseArgs,
]);
Expand Down

0 comments on commit b8d1af6

Please sign in to comment.