Skip to content

Commit 6576969

Browse files
committed
chore(windows): fix the Dart e2e/benchmark tasks
1 parent 8b68546 commit 6576969

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

protractor-shared.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ var BROWSER_CAPS = {
6262
browserName: 'chrome',
6363
chromeOptions: mergeInto(CHROME_OPTIONS, {
6464
'mobileEmulation': CHROME_MOBILE_EMULATION,
65-
'binary': process.env.DARTIUM
65+
'binary': process.env.DARTIUM_BIN
6666
}),
6767
loggingPrefs: {
6868
performance: 'ALL',

tools/broccoli/trees/dart_tree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function replaceScriptTagInHtml(placeholder: string, relativePath: string): stri
2929
if (relativePath.match(/^benchmarks/)) {
3030
scriptTags += '<script src="url_params_to_form.js" type="text/javascript"></script>\n';
3131
}
32-
var scriptName = relativePath.replace(/.*\/([^/]+)\.html$/, '$1.dart');
32+
var scriptName = relativePath.replace(/\\/g, '/').replace(/.*\/([^/]+)\.html$/, '$1.dart');
3333
scriptTags += '<script src="' + scriptName + '" type="application/dart"></script>\n' +
3434
'<script src="packages/browser/dart.js" type="text/javascript"></script>';
3535
return scriptTags;

0 commit comments

Comments
 (0)