1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-05-15 10:07:07 +01:00

Move error handling out of core.

This commit is contained in:
hacksalot
2016-01-13 15:28:02 -05:00
parent eddda8146e
commit 19b30d55ec
7 changed files with 37 additions and 49 deletions

View File

@ -194,7 +194,7 @@ Definition of the `main` function.
function execute( src, dst, opts, log ) {
loadOptions.call( this, opts, this.parent.jsonArgs );
require( '../core/error-handler' ).init( _opts.debug );
require( './error-handler' ).init( _opts.debug );
var out = new OUTPUT( _opts );
var v = new HMR.verbs[ this.name() ]();
v.on( 'hmr:status', function() { out.do.apply( out, arguments ); });