Browse Source

index: pass along `env` to `/create`

master
Guillermo Rauch 8 years ago
parent
commit
efdd6b8d29
  1. 2
      lib/index.js

2
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,

Loading…
Cancel
Save