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 @@ -170,15 +170,15 @@ async function runDocker(datasource, opts) {
170
170
let current_folder = await filesystem . cwd ( )
171
171
172
172
// Build the Dockerfile location. Defaults to ./tests/.docker if
173
- // a custom testsFolder is not delcared in the subgraph.yaml
173
+ // a custom testsFolder is not declared in the subgraph.yaml
174
174
let dockerDir = ""
175
175
176
176
try {
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
180
} catch ( error ) {
181
- print . error ( error )
181
+ print . error ( error . message )
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 . error ( error )
191
+ print . error ( error . message )
192
192
return
193
193
}
194
194
You can’t perform that action at this time.
0 commit comments