Skip to content

Commit aa961ec

Browse files
authored
String.replace will substitute special patterns (microsoft#167239) (microsoft#167250)
1 parent 3a52e79 commit aa961ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/gulpfile.vscode.web.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const createVSCodeWebProductConfigurationPatcher = (product) => {
9696
commit,
9797
date: buildDate
9898
});
99-
return content.replace('/*BUILD->INSERT_PRODUCT_CONFIGURATION*/', productConfiguration.substr(1, productConfiguration.length - 2) /* without { and }*/);
99+
return content.replace('/*BUILD->INSERT_PRODUCT_CONFIGURATION*/', () => productConfiguration.substr(1, productConfiguration.length - 2) /* without { and }*/);
100100
}
101101

102102
return content;

0 commit comments

Comments
 (0)