From 9d49f5f955557a06a28511165b46ccc37b66d558 Mon Sep 17 00:00:00 2001 From: Tony Kovanen Date: Fri, 3 Jun 2016 13:14:48 +0300 Subject: [PATCH] Use `"now"` nampespace for `"engines"` --- lib/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 7183f6c..1a7e98c 100644 --- a/lib/index.js +++ b/lib/index.js @@ -71,7 +71,8 @@ export default class Now extends EventEmitter { this._files = hashes; - const engines = pkg['now-engines']; + const nowProperties = pkg.now || {}; + const engines = nowProperties.engines; const deployment = await retry(async (bail) => { if (this._debug) console.time('> [debug] /now/create');