1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-12-22 21:37:21 +00:00

Rename error-handler.js to error.js.

This commit is contained in:
hacksalot 2016-01-14 11:49:27 -05:00
parent a9c685c6a4
commit 37ea6cf804
4 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
/**
Error-handling routines for HackMyResume.
@module error-handler.js
@module error.js
@license MIT. See LICENSE.md for details.
*/
// TODO: Logging library

View File

@ -217,7 +217,7 @@ Definition of the `main` function.
function execute( src, dst, opts, log ) {
loadOptions.call( this, opts, this.parent.jsonArgs );
var hand = require( './error-handler' );
var hand = require( './error' );
hand.init( _opts.debug, _opts.assert );
var v = new HMR.verbs[ this.name() ]();
_out.init( _opts );

View File

@ -17,6 +17,6 @@ try {
}
catch( ex ) {
require('./cli/error-handler').err( ex, true );
require('./cli/error').err( ex, true );
}

View File

@ -37,7 +37,7 @@ describe('Testing Ouput interface', function () {
HMRMAIN( args );
}
catch( ex ) {
require('../src/cli/error-handler').err( ex, false );
require('../src/cli/error').err( ex, false );
}
CHALK.enabled = true;
process.exit = ProcessExitOrg;