Compare commits

..

No commits in common. "2a121d27ee1fa26c2e44d4ba7116518245271ca5" and "d0e3507cc022a354fbdd9b1cdc30aacd908796b7" have entirely different histories.

1 changed files with 1 additions and 11 deletions

View File

@ -4,17 +4,7 @@ try {
var localconfig: Object = parse(read('config/config.yml'));
console.log('Config file found.');
} catch (e) {
if(e['reason']) {
console.log('Error parsing config on line '+e['mark']['line']+', with reason: '+e['reason']);
}
else {
console.log('Config Error: '+e['code']);
switch(e['code']){
case 'ENOENT':
console.log('Does the file exist?');
break;
}
}
console.log('No config file found. Exiting.');
process.exit();
}
const config: Object = {