Skip to content

Commit b8d1af6

Browse files
Merge pull request #2445 from UpstartMPotnick/remove-extra-quotes-around-commitmessage
fix: remove extra quotes surrounding commitMessage
2 parents f124234 + b44b40e commit b8d1af6

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

plugins/npm/__tests__/npm.test.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ describe("publish", () => {
616616
"--yes",
617617
"--no-push",
618618
"-m",
619-
"'\"Bump version to: %s [skip ci]\"'",
619+
"\"Bump version to: %s [skip ci]\"",
620620
false,
621621
]);
622622
});
@@ -645,7 +645,7 @@ describe("publish", () => {
645645
"--yes",
646646
"--no-push",
647647
"-m",
648-
"'\"Bump version to: %s [skip ci]\"'",
648+
"\"Bump version to: %s [skip ci]\"",
649649
false,
650650
]);
651651
});
@@ -674,7 +674,7 @@ describe("publish", () => {
674674
"--yes",
675675
"--no-push",
676676
"-m",
677-
"'\"Bump version to: %s [skip ci]\"'",
677+
"\"Bump version to: %s [skip ci]\"",
678678
"--exact",
679679
]);
680680

@@ -881,7 +881,7 @@ describe("publish", () => {
881881
"--yes",
882882
"--no-push",
883883
"-m",
884-
"'\"Bump version to: %s [skip ci]\"'",
884+
"\"Bump version to: %s [skip ci]\"",
885885
false,
886886
]);
887887
});
@@ -924,7 +924,7 @@ describe("publish", () => {
924924
"--yes",
925925
"--no-push",
926926
"-m",
927-
"'\"[skip ci] Custom version commit message\"'",
927+
"\"[skip ci] Custom version commit message\"",
928928
false,
929929
]);
930930
});
@@ -967,7 +967,7 @@ describe("publish", () => {
967967
"--yes",
968968
"--no-push",
969969
"-m",
970-
"'\"Custom version commit message [skip ci]\"'",
970+
"\"Custom version commit message [skip ci]\"",
971971
false,
972972
]);
973973
});
@@ -1529,7 +1529,7 @@ describe("canary", () => {
15291529
"--yes",
15301530
"--no-push",
15311531
"-m",
1532-
`'"Bump independent versions [skip ci]"'`,
1532+
"\"Bump independent versions [skip ci]\"",
15331533
false,
15341534
]);
15351535
});

plugins/npm/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ export default class NPMPlugin implements IPlugin {
10341034
"--yes",
10351035
"--no-push",
10361036
"-m",
1037-
`'"${commitMessage}"'`,
1037+
`"${commitMessage}"`,
10381038
this.exact && "--exact",
10391039
...verboseArgs,
10401040
]);

0 commit comments

Comments
 (0)