1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-05-02 20:37:08 +01:00

Integrate printf().

This commit is contained in:
hacksalot
2016-01-14 09:46:29 -05:00
parent 7af50c51f6
commit 7765e85336
5 changed files with 8 additions and 4 deletions

View File

@ -51,7 +51,7 @@ Error-handling routines for HackMyResume.
}
else {
o( ex );
var stackTrace = ex.stack || (ex.inner && ex.inner.stack)
var stackTrace = ex.stack || (ex.inner && ex.inner.stack);
if( stackTrace && this.debug )
o( ex.stack || ex.inner.stack );

View File

@ -210,6 +210,7 @@ Definition of the `main` function.
}
/**
Invoke a HackMyResume verb.
*/

View File

@ -39,7 +39,9 @@ Output routines for HackMyResume.
log: function( msg ) {
msg = msg || '';
this.opts.silent || console.log.apply( console.log, arguments );
var printf = require('printf');
var finished = printf.apply( printf, arguments );
this.opts.silent || console.log( finished );
},