1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-05 01:56:21 +00:00

fix: create command glitch

This commit is contained in:
hacksalot 2018-02-14 11:23:51 -05:00
parent 8cccd2ffbb
commit ab6e7ee1a0
No known key found for this signature in database
GPG Key ID: 2F343EC247CA4B06

View File

@ -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;
};