mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2025-05-02 12:27:08 +01:00
Fix PEEK command.
This commit is contained in:
7
dist/verbs/peek.js
vendored
7
dist/verbs/peek.js
vendored
@ -52,8 +52,7 @@ Implementation of the 'peek' verb for HackMyResume.
|
||||
}
|
||||
tgt = _peekOne.call(this, t, objPath);
|
||||
if (tgt.error) {
|
||||
tgt.quit = opts.assert;
|
||||
this.err(tgt.fluenterror, tgt);
|
||||
this.setError(tgt.error.fluenterror, tgt.error);
|
||||
}
|
||||
return tgt;
|
||||
}, this);
|
||||
@ -97,8 +96,8 @@ Implementation of the 'peek' verb for HackMyResume.
|
||||
error: pkgError
|
||||
});
|
||||
return {
|
||||
val: tgt,
|
||||
errpr: pkgError
|
||||
val: obj.ex ? void 0 : tgt,
|
||||
error: pkgError
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user