mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-05 09:56:22 +00:00
Fix: Exception when HMR is run without params.
This commit is contained in:
parent
a0c356941c
commit
e3cb949992
@ -6,6 +6,9 @@
|
||||
|
||||
var HACKMYSTATUS = require('./status-codes')
|
||||
, PKG = require('../../package.json')
|
||||
, FS = require('fs')
|
||||
, FCMD = require('../hackmycmd')
|
||||
, PATH = require('path')
|
||||
, title = ('\n*** HackMyResume v' + PKG.version + ' ***').bold.white;
|
||||
|
||||
var ErrorHandler = module.exports = {
|
||||
@ -36,7 +39,7 @@
|
||||
return (idx === ar.length - 1 ? 'or '.guide : '') +
|
||||
v.toUpperCase().guide;
|
||||
}).join(', '.guide) + ").\n\n".guide +
|
||||
FS.readFileSync( PATH.join(__dirname, 'use.txt'), 'utf8' ).info.bold;
|
||||
FS.readFileSync( PATH.resolve(__dirname, '../use.txt'), 'utf8' ).info.bold;
|
||||
break;
|
||||
|
||||
case HACKMYSTATUS.invalidCommand:
|
||||
|
Loading…
Reference in New Issue
Block a user