From 3846e7b06eed371ab1d3d8d9919e2e51c62b8bff Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Fri, 15 Jun 2018 17:14:34 -0700 Subject: [PATCH] Fix jake diff (#25012) Unterminated quotes aren't good for command lines, tbqh --- Jakefile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jakefile.js b/Jakefile.js index 0a758cc4537..633e4f45cb6 100644 --- a/Jakefile.js +++ b/Jakefile.js @@ -208,13 +208,13 @@ task(TaskNames.lint, [TaskNames.buildRules], () => { desc("Diffs the compiler baselines using the diff tool specified by the 'DIFF' environment variable"); task('diff', function () { - var cmd = `"${getDiffTool()} ${Paths.baselines.reference} ${Paths.baselines.local}`; + var cmd = `"${getDiffTool()}" ${Paths.baselines.reference} ${Paths.baselines.local}`; exec(cmd); }, { async: true }); desc("Diffs the RWC baselines using the diff tool specified by the 'DIFF' environment variable"); task('diff-rwc', function () { - var cmd = `"${getDiffTool()} ${Paths.baselines.referenceRwc} ${Paths.baselines.localRwc}`; + var cmd = `"${getDiffTool()}" ${Paths.baselines.referenceRwc} ${Paths.baselines.localRwc}`; exec(cmd); }, { async: true });