Skip to content

Commit 3846e7b

Browse files
authored
Fix jake diff (#25012)
Unterminated quotes aren't good for command lines, tbqh
1 parent 657d011 commit 3846e7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jakefile.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -208,13 +208,13 @@ task(TaskNames.lint, [TaskNames.buildRules], () => {
208208

209209
desc("Diffs the compiler baselines using the diff tool specified by the 'DIFF' environment variable");
210210
task('diff', function () {
211-
var cmd = `"${getDiffTool()} ${Paths.baselines.reference} ${Paths.baselines.local}`;
211+
var cmd = `"${getDiffTool()}" ${Paths.baselines.reference} ${Paths.baselines.local}`;
212212
exec(cmd);
213213
}, { async: true });
214214

215215
desc("Diffs the RWC baselines using the diff tool specified by the 'DIFF' environment variable");
216216
task('diff-rwc', function () {
217-
var cmd = `"${getDiffTool()} ${Paths.baselines.referenceRwc} ${Paths.baselines.localRwc}`;
217+
var cmd = `"${getDiffTool()}" ${Paths.baselines.referenceRwc} ${Paths.baselines.localRwc}`;
218218
exec(cmd);
219219
}, { async: true });
220220

0 commit comments

Comments
 (0)