mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-22 08:20:11 +00:00
Rename error-handler.js to error.js.
This commit is contained in:
parent
a9c685c6a4
commit
37ea6cf804
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
Error-handling routines for HackMyResume.
|
Error-handling routines for HackMyResume.
|
||||||
@module error-handler.js
|
@module error.js
|
||||||
@license MIT. See LICENSE.md for details.
|
@license MIT. See LICENSE.md for details.
|
||||||
*/
|
*/
|
||||||
// TODO: Logging library
|
// TODO: Logging library
|
@ -217,7 +217,7 @@ Definition of the `main` function.
|
|||||||
function execute( src, dst, opts, log ) {
|
function execute( src, dst, opts, log ) {
|
||||||
|
|
||||||
loadOptions.call( this, opts, this.parent.jsonArgs );
|
loadOptions.call( this, opts, this.parent.jsonArgs );
|
||||||
var hand = require( './error-handler' );
|
var hand = require( './error' );
|
||||||
hand.init( _opts.debug, _opts.assert );
|
hand.init( _opts.debug, _opts.assert );
|
||||||
var v = new HMR.verbs[ this.name() ]();
|
var v = new HMR.verbs[ this.name() ]();
|
||||||
_out.init( _opts );
|
_out.init( _opts );
|
||||||
|
@ -17,6 +17,6 @@ try {
|
|||||||
}
|
}
|
||||||
catch( ex ) {
|
catch( ex ) {
|
||||||
|
|
||||||
require('./cli/error-handler').err( ex, true );
|
require('./cli/error').err( ex, true );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -37,7 +37,7 @@ describe('Testing Ouput interface', function () {
|
|||||||
HMRMAIN( args );
|
HMRMAIN( args );
|
||||||
}
|
}
|
||||||
catch( ex ) {
|
catch( ex ) {
|
||||||
require('../src/cli/error-handler').err( ex, false );
|
require('../src/cli/error').err( ex, false );
|
||||||
}
|
}
|
||||||
CHALK.enabled = true;
|
CHALK.enabled = true;
|
||||||
process.exit = ProcessExitOrg;
|
process.exit = ProcessExitOrg;
|
||||||
|
Loading…
Reference in New Issue
Block a user