mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2025-11-08 16:51:34 +00:00
Tweak missing file message for "new" command.
This commit is contained in:
@@ -152,7 +152,8 @@ function initialize() {
|
||||
|
||||
// Override the .missingArgument behavior
|
||||
Command.prototype.missingArgument = function(name) {
|
||||
throw { fluenterror: HACKMYSTATUS.resumeNotFound };
|
||||
if( this.name() !== 'new' )
|
||||
throw { fluenterror: HACKMYSTATUS.resumeNotFound };
|
||||
};
|
||||
|
||||
// Override the .helpInformation behavior
|
||||
|
||||
Reference in New Issue
Block a user