diff --git a/lib/exe.js b/lib/exe.js index b8ae6e2..81244e1 100644 --- a/lib/exe.js +++ b/lib/exe.js @@ -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 )