chore(version-info): silence the HTTP curl to get the cdn version

This commit is contained in:
Peter Bacon Darwin
2015-01-30 21:55:46 +00:00
parent 3130a82b21
commit 2003fcf0de
+1 -1
View File
@@ -136,7 +136,7 @@ var getCdnVersion = function() {
// as version-infos returns its result synchronously...
var cdnResult = shell.exec('curl http://ajax.googleapis.com/ajax/libs/angularjs/' + version + '/angular.min.js ' +
'--head --write-out "%{http_code}" -o /dev/null -silent',
{silent: false});
{silent: true});
if (cdnResult.code === 0) {
var statusCode = cdnResult.output.trim();
if (statusCode === '200') {