mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2026-10-16 15:39:00 +01:00
Support post-save callback.
This commit is contained in:
1 parent
1603a4bc73
commit
0c1364593a
1 file changed
+1
@@ -199,6 +199,7 @@ Template-based resume generator base for FluentCV.
|
||||
try {
|
||||
MKDIRP.sync( PATH.dirname( tplInfo.major ? f : thisFilePath) );
|
||||
FS.writeFileSync( tplInfo.major ? f : thisFilePath, mk, { encoding: 'utf8', flags: 'w' } );
|
||||
this.onAfterSave && (mk = this.onAfterSave( { outputFile: (tplInfo.major ? f : thisFilePath), mk: mk } ));
|
||||
}
|
||||
catch(ex) {
|
||||
console.log(ex);
|
||||
|
||||
Reference in new issue
Block a user