Removing hardcoded Windows path delimiter
Allowing for .NET to determine the OS path delimiter when combining the path for the bootstrap.js file.
Showing
2 changed files
with
1 additions
and
1 deletions
No preview for this file type
... | @@ -149,7 +149,7 @@ class casperjs { | ... | @@ -149,7 +149,7 @@ class casperjs { |
149 | var CASPER_COMMAND = new List<string>(ENGINE_EXEC); | 149 | var CASPER_COMMAND = new List<string>(ENGINE_EXEC); |
150 | CASPER_COMMAND.AddRange(ENGINE_ARGS); | 150 | CASPER_COMMAND.AddRange(ENGINE_ARGS); |
151 | CASPER_COMMAND.AddRange(new [] { | 151 | CASPER_COMMAND.AddRange(new [] { |
152 | @"""" + Path.Combine(CASPER_PATH, "bin\\bootstrap.js") + @"""", | 152 | @"""" + Path.Combine(CASPER_PATH, "bin", "bootstrap.js") + @"""", |
153 | @"--casper-path=""" + CASPER_PATH + @"""", | 153 | @"--casper-path=""" + CASPER_PATH + @"""", |
154 | "--cli" | 154 | "--cli" |
155 | }); | 155 | }); | ... | ... |
-
Please register or sign in to post a comment