Skip to content

Commit 64999f9

Browse files
committed
fix: no longer wraps extra backticks around commit message
1 parent b398636 commit 64999f9

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

git-webui/release/share/git-webui/webui/js/git-webui.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2577,10 +2577,7 @@ webui.NewChangedFilesView = function(workspaceView) {
25772577
}
25782578

25792579
self.doubleQuotesToSingleQuotes = function(string) {
2580-
console.log("here")
2581-
var modified = string.replace(/"/g, "'");
2582-
console.log(modified);
2583-
return `\`${modified}\``;
2580+
return string.replace(/"/g, "'");
25842581
}
25852582

25862583
self.commit = function(message, details) {

git-webui/src/share/git-webui/webui/js/git-webui.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2577,8 +2577,7 @@ webui.NewChangedFilesView = function(workspaceView) {
25772577
}
25782578

25792579
self.doubleQuotesToSingleQuotes = function(string) {
2580-
var modified = string.replace(/"/g, "'");
2581-
return `\`${modified}\``;
2580+
return string.replace(/"/g, "'");
25822581
}
25832582

25842583
self.commit = function(message, details) {

0 commit comments

Comments
 (0)