Merge pull request #269 from anmonteiro/pythonpaths

startupSnapshot: need to generate python raw strings because of windows paths
This commit is contained in:
Jared Allard
2016-11-29 12:21:50 -08:00
committed by GitHub
+1 -1
View File
@@ -683,7 +683,7 @@ function _monkeyPatchConfigure(compiler, complete, options) {
function(content, next) {
next(null, content.replace(
"def configure_v8(o):",
`def configure_v8(o):\n o['variables']['embed_script'] = '${snapshotPath}'\n o['variables']['warmup_script'] = '${snapshotPath}'`));
`def configure_v8(o):\n o['variables']['embed_script'] = r'${snapshotPath}'\n o['variables']['warmup_script'] = r'${snapshotPath}'`));
},
complete
)