File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -177,8 +177,8 @@ async function runDocker(datasource, opts) {
177
177
let doc = await yaml . load ( filesystem . read ( 'subgraph.yaml' , 'utf8' ) )
178
178
testsFolder = doc . testsFolder || './tests'
179
179
dockerDir = testsFolder . endsWith ( '/' ) ? testsFolder + '.docker' : testsFolder + '/.docker'
180
- } catch ( e ) {
181
- print . error ( e )
180
+ } catch ( error ) {
181
+ print . error ( error )
182
182
return
183
183
}
184
184
@@ -188,7 +188,7 @@ async function runDocker(datasource, opts) {
188
188
print . info ( 'Successfully generated Dockerfile.' )
189
189
} catch ( error ) {
190
190
print . info ( 'A problem occurred while generating the Dockerfile. Please attend to the errors below:' )
191
- print . info ( chalk . red ( error ) )
191
+ print . error ( error )
192
192
return
193
193
}
194
194
You can’t perform that action at this time.
0 commit comments