From e3f1d6fc7460dd1bd6f7f7038c369ccf6e550798 Mon Sep 17 00:00:00 2001 From: calebboyd Date: Sat, 20 Oct 2018 11:31:05 -0500 Subject: [PATCH] fix: missing cwd on resolve --- package.json | 2 +- src/patches/snapshot.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 88e26f7..c9df5e1 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "nexe", "description": "Create a single executable out of your Node.js application", "license": "MIT", - "version": "3.0.0-beta.4", + "version": "3.0.0-beta.5", "contributors": [ "Craig Condon (http://crcn.io)", "Jared Allard ", diff --git a/src/patches/snapshot.ts b/src/patches/snapshot.ts index 4618b76..c500498 100644 --- a/src/patches/snapshot.ts +++ b/src/patches/snapshot.ts @@ -14,7 +14,7 @@ export default async function(compiler: NexeCompiler, next: () => Promise) `def configure_v8(o):\n o['variables']['embed_script'] = r'${resolve( cwd, snapshot - )}'\n o['variables']['warmup_script'] = r'${resolve(warmup || snapshot)}'` + )}'\n o['variables']['warmup_script'] = r'${resolve(cwd, warmup || snapshot)}'` ) return next()