From efdd6b8d29f3c209e4c472939c3bdc23ab455f8b Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Tue, 30 Aug 2016 00:00:15 -0700 Subject: [PATCH] index: pass along `env` to `/create` --- lib/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/index.js b/lib/index.js index 3c231ba..c46e200 100644 --- a/lib/index.js +++ b/lib/index.js @@ -37,6 +37,7 @@ export default class Now extends EventEmitter { async create (path, { wantsPublic, quiet = false, + env = {}, forceNew = false, forceSync = false, forwardNpm = false, @@ -177,6 +178,7 @@ export default class Now extends EventEmitter { const res = await this._fetch('/now/create', { method: 'POST', body: { + env, public: wantsPublic, forceNew, forceSync,