Skip to content

Commit 8018d19

Browse files
committedJan 4, 2018
fix(get-schema): logging output
1 parent b28b90d commit 8018d19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/cmds/get-schema.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ async function updateSingleProjectEndpoint(
227227
if (schemaPath) {
228228
log(chalk.green(`${config && config.projectName && config.projectName !== 'unnamed' ? `project ${chalk.blue(config.projectName)} - ` : ''}${
229229
endpointName && endpointName !== 'unnamed' ? `endpoint ${chalk.blue(endpointName)} - ` : ''
230-
}Schema file was ${oldSchema ? 'updated' : 'created'}: ${chalk.blue(schemaPath)}`))
230+
}Schema file was ${oldSchema ? 'updated' : 'created'}: ${chalk.blue(relative(process.cwd(), schemaPath))}`))
231231
}
232232
emitter.emit('checked')
233233
}

0 commit comments

Comments
 (0)
Please sign in to comment.