@@ -73,10 +73,9 @@ function checkGo() {
73
73
} ,
74
74
function ( error , stdout , stderror ) {
75
75
if ( error || stderror || ! stdout ) {
76
- deferred . reject (
77
- new Error (
78
- 'Go is not on the path. Please pass the PATH variable when you run ' +
79
- 'the gulp task with "PATH=$PATH" or install go if you have not yet.' ) ) ;
76
+ deferred . reject ( new Error (
77
+ 'Go is not on the path. Please pass the PATH variable when you run ' +
78
+ 'the gulp task with "PATH=$PATH" or install go if you have not yet.' ) ) ;
80
79
return ;
81
80
}
82
81
deferred . resolve ( ) ;
@@ -106,11 +105,10 @@ function checkGoVersion() {
106
105
currentGoVersion = `${ currentGoVersion } .0` ;
107
106
}
108
107
if ( semver . lt ( currentGoVersion , minGoVersion ) ) {
109
- deferred . reject (
110
- new Error (
111
- `The current go version '${ currentGoVersion } ' is older than ` +
112
- `the minimum required version '${ minGoVersion } '. ` +
113
- `Please upgrade your go version!` ) ) ;
108
+ deferred . reject ( new Error (
109
+ `The current go version '${ currentGoVersion } ' is older than ` +
110
+ `the minimum required version '${ minGoVersion } '. ` +
111
+ `Please upgrade your go version!` ) ) ;
114
112
return ;
115
113
}
116
114
deferred . resolve ( ) ;
@@ -131,10 +129,9 @@ function checkGodep() {
131
129
} ,
132
130
function ( error , stdout , stderror ) {
133
131
if ( error || stderror || ! stdout ) {
134
- deferred . reject (
135
- new Error (
136
- 'Godep is not on the path. ' +
137
- 'Please run "npm install" in the base directory of the project.' ) ) ;
132
+ deferred . reject ( new Error (
133
+ 'Godep is not on the path. ' +
134
+ 'Please run "npm install" in the base directory of the project.' ) ) ;
138
135
return ;
139
136
}
140
137
deferred . resolve ( ) ;
0 commit comments