mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-22 08:20:11 +00:00
Swallow inline failures in CONVERT.
This commit is contained in:
parent
181419ae28
commit
23cd52885b
@ -61,9 +61,15 @@ Implementation of the 'convert' verb for HackMyResume.
|
|||||||
|
|
||||||
// Load the resume
|
// Load the resume
|
||||||
var rinfo = ResumeFactory.loadOne( src, {
|
var rinfo = ResumeFactory.loadOne( src, {
|
||||||
format: null, objectify: true, throw: true
|
format: null, objectify: true, throw: false
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// If a load error occurs, report it and move on to the next file (if any)
|
||||||
|
if( rinfo.fluenterror ) {
|
||||||
|
this.err( rinfo.fluenterror, rinfo );
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var s = rinfo.rez
|
var s = rinfo.rez
|
||||||
, srcFmt = ((s.basics && s.basics.imp) || s.imp).orgFormat === 'JRS' ?
|
, srcFmt = ((s.basics && s.basics.imp) || s.imp).orgFormat === 'JRS' ?
|
||||||
'JRS' : 'FRESH'
|
'JRS' : 'FRESH'
|
||||||
|
Loading…
Reference in New Issue
Block a user