Add info to error message

This commit is contained in:
syuilo 2017-05-24 16:18:54 +09:00
parent 045bae33c4
commit 145ba241e2

View File

@ -89,7 +89,7 @@ async function init(): Promise<Config> {
let configLogger = new Logger('Config');
if (!fs.existsSync(configPath)) {
throw 'Configuration not found';
throw 'Configuration not found - Please run "npm run config" command.';
}
const config = loadConfig();