Browse Source

Merge branch 'add/piping' into add/shorter-deploy-message

master
Guillermo Rauch 9 years ago
parent
commit
a3746ba8f4
  1. 3
      bin/now-deploy
  2. 2
      lib/index.js

3
bin/now-deploy

@ -104,6 +104,7 @@ const apiUrl = argv.url || 'https://api.zeit.co';
const isTTY = process.stdout.isTTY;
const quiet = !isTTY;
const config = cfg.read();
const alwaysForwardNpm = config.forwardNpm;
if (argv.h || argv.help) {
help();
@ -148,7 +149,7 @@ async function sync (token) {
await now.create(path, {
forceNew,
forceSync,
forwardNpm,
forwardNpm: alwaysForwardNpm || forwardNpm,
quiet
});
} catch (err) {

2
lib/index.js

@ -65,7 +65,7 @@ export default class Now extends EventEmitter {
const nowProperties = pkg.now || {};
forwardNpm = forwardNpm || nowProperties['forward-npm'];
forwardNpm = forwardNpm || nowProperties['forwardNpm'];
// Read .npmrc
let npmrc = {};

Loading…
Cancel
Save