mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-23 08:50:11 +00:00
fix: create command glitch
This commit is contained in:
parent
8cccd2ffbb
commit
ab6e7ee1a0
@ -71,7 +71,6 @@ var _createOne = function( t, opts ) {
|
||||
const newRez = RezClass.default();
|
||||
newRez.save(t);
|
||||
ret = newRez;
|
||||
return;
|
||||
} catch (err) {
|
||||
ret = {
|
||||
fluenterror: HMSTATUS.createError,
|
||||
@ -79,7 +78,7 @@ var _createOne = function( t, opts ) {
|
||||
};
|
||||
}
|
||||
finally {
|
||||
this.stat(HMEVENT.afterCreate, {fmt: safeFmt, file: t, isError: ret.fluenterror});
|
||||
this.stat(HMEVENT.afterCreate, { fmt: safeFmt, file: t, isError: ret.fluenterror });
|
||||
}
|
||||
return ret;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user