Skip to content

Commit

Permalink
Set quiet flag when zipping function. prevents node maxBuffer error
Browse files Browse the repository at this point in the history
  • Loading branch information
southpolesteve committed Feb 25, 2016
1 parent 4d80278 commit 9203e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deploy-function/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default function({ name, namespace, env = {} }){
}

function zipDir(){
return exec(`zip -r ${tmpFuncZipFile} *`, { cwd: tmpFuncDir })
return exec(`zip -q -r ${tmpFuncZipFile} *`, { cwd: tmpFuncDir })
}

function upload(){
Expand Down

0 comments on commit 9203e1e

Please sign in to comment.