Skip to content

Commit 2003fcf

Browse files
chore(version-info): silence the HTTP curl to get the cdn version
1 parent 3130a82 commit 2003fcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/versions/version-info.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ var getCdnVersion = function() {
136136
// as version-infos returns its result synchronously...
137137
var cdnResult = shell.exec('curl http://ajax.googleapis.com/ajax/libs/angularjs/' + version + '/angular.min.js ' +
138138
'--head --write-out "%{http_code}" -o /dev/null -silent',
139-
{silent: false});
139+
{silent: true});
140140
if (cdnResult.code === 0) {
141141
var statusCode = cdnResult.output.trim();
142142
if (statusCode === '200') {

0 commit comments

Comments
 (0)