Browse Source

now: tune `complete` callback

master
Guillermo Rauch 9 years ago
parent
commit
2adb3ce313
  1. 4
      bin/now

4
bin/now

@ -112,9 +112,7 @@ async function sync (token) {
bar.tick(amount);
});
now.on('complete', () => {
complete();
});
now.on('complete', complete);
now.on('error', (err) => {
error('Upload failed');

Loading…
Cancel
Save