Merge pull request #269 from anmonteiro/pythonpaths
startupSnapshot: need to generate python raw strings because of windows paths
This commit is contained in:
+1
-1
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user