mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2026-11-03 23:28:33 +00:00
Tweak missing file message for "new" command.
This commit is contained in:
1 parent
39e995213f
commit
830c36818e
2 files changed
+5
-3
No files matched your search
+2
-1
@@ -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