mirror of
				https://github.com/JuanCanham/HackMyResume.git
				synced 2025-10-30 20:57:26 +00:00 
			
		
		
		
	Integrate printf().
This commit is contained in:
		| @@ -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 ); | ||||
|  | ||||
|   | ||||
| @@ -210,6 +210,7 @@ Definition of the `main` function. | ||||
|   } | ||||
|  | ||||
|  | ||||
|  | ||||
|   /** | ||||
|   Invoke a HackMyResume verb. | ||||
|   */ | ||||
|   | ||||
| @@ -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 ); | ||||
|     }, | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user