From 630cf59cfba2167f305844af125642caac389c1d Mon Sep 17 00:00:00 2001 From: hacksalot Date: Tue, 26 Jan 2016 06:59:34 -0500 Subject: [PATCH] Caffeinate. --- dist/cli/error.js | 6 +++--- dist/cli/main.js | 8 ++++---- dist/cli/out.js | 6 +++--- dist/index.js | 2 -- src/cli/error.js | 6 +++--- src/cli/main.coffee | 8 ++++---- src/cli/out.js | 6 +++--- 7 files changed, 20 insertions(+), 22 deletions(-) diff --git a/dist/cli/error.js b/dist/cli/error.js index 28b93c9..cc94d54 100644 --- a/dist/cli/error.js +++ b/dist/cli/error.js @@ -10,18 +10,18 @@ Error-handling routines for HackMyResume. - var HMSTATUS = require('hackmycore/src/core/status-codes') + var HMSTATUS = require('hackmycore/dist/core/status-codes') , PKG = require('../../package.json') , FS = require('fs') , FCMD = require('hackmycore') , PATH = require('path') , WRAP = require('word-wrap') - , M2C = require('hackmycore/src/utils/md2chalk.js') + , M2C = require('hackmycore/dist/utils/md2chalk.js') , chalk = require('chalk') , extend = require('extend') , YAML = require('yamljs') , printf = require('printf') - , SyntaxErrorEx = require('hackmycore/src/utils/syntax-error-ex'); + , SyntaxErrorEx = require('hackmycore/dist/utils/syntax-error-ex'); require('string.prototype.startswith'); diff --git a/dist/cli/main.js b/dist/cli/main.js index cb83991..15c1222 100644 --- a/dist/cli/main.js +++ b/dist/cli/main.js @@ -20,13 +20,13 @@ Definition of the `main` function. PATH = require('path'); - HMSTATUS = require('hackmycore/src/core/status-codes'); + HMSTATUS = require('hackmycore/dist/core/status-codes'); - HME = require('hackmycore/src/core/event-codes'); + HME = require('hackmycore/dist/core/event-codes'); - safeLoadJSON = require('hackmycore/src/utils/safe-json-loader'); + safeLoadJSON = require('hackmycore/dist/utils/safe-json-loader'); - StringUtils = require('hackmycore/src/utils/string.js'); + StringUtils = require('hackmycore/dist/utils/string.js'); _ = require('underscore'); diff --git a/dist/cli/out.js b/dist/cli/out.js index 62e3a26..e3815ad 100644 --- a/dist/cli/out.js +++ b/dist/cli/out.js @@ -11,10 +11,10 @@ Output routines for HackMyResume. var chalk = require('chalk') - , HME = require('hackmycore/src/core/event-codes') + , HME = require('hackmycore/dist/core/event-codes') , _ = require('underscore') - , Class = require('hackmycore/src/utils/class.js') - , M2C = require('hackmycore/src/utils/md2chalk.js') + , Class = require('hackmycore/dist/utils/class.js') + , M2C = require('hackmycore/dist/utils/md2chalk.js') , PATH = require('path') , LO = require('lodash') , FS = require('fs') diff --git a/dist/index.js b/dist/index.js index b0056bb..8b40823 100644 --- a/dist/index.js +++ b/dist/index.js @@ -17,8 +17,6 @@ try { } catch( ex ) { - console.log(ex); - if(ex.stack) console.log(ex.stack); require('./cli/error').err( ex, true ); } diff --git a/src/cli/error.js b/src/cli/error.js index 28b93c9..cc94d54 100644 --- a/src/cli/error.js +++ b/src/cli/error.js @@ -10,18 +10,18 @@ Error-handling routines for HackMyResume. - var HMSTATUS = require('hackmycore/src/core/status-codes') + var HMSTATUS = require('hackmycore/dist/core/status-codes') , PKG = require('../../package.json') , FS = require('fs') , FCMD = require('hackmycore') , PATH = require('path') , WRAP = require('word-wrap') - , M2C = require('hackmycore/src/utils/md2chalk.js') + , M2C = require('hackmycore/dist/utils/md2chalk.js') , chalk = require('chalk') , extend = require('extend') , YAML = require('yamljs') , printf = require('printf') - , SyntaxErrorEx = require('hackmycore/src/utils/syntax-error-ex'); + , SyntaxErrorEx = require('hackmycore/dist/utils/syntax-error-ex'); require('string.prototype.startswith'); diff --git a/src/cli/main.coffee b/src/cli/main.coffee index dd2b21e..e718552 100644 --- a/src/cli/main.coffee +++ b/src/cli/main.coffee @@ -12,10 +12,10 @@ FS = require 'fs' EXTEND = require 'extend' chalk = require 'chalk' PATH = require 'path' -HMSTATUS = require 'hackmycore/src/core/status-codes' -HME = require 'hackmycore/src/core/event-codes' -safeLoadJSON = require 'hackmycore/src/utils/safe-json-loader' -StringUtils = require 'hackmycore/src/utils/string.js' +HMSTATUS = require 'hackmycore/dist/core/status-codes' +HME = require 'hackmycore/dist/core/event-codes' +safeLoadJSON = require 'hackmycore/dist/utils/safe-json-loader' +StringUtils = require 'hackmycore/dist/utils/string.js' _ = require 'underscore' OUTPUT = require './out' PAD = require 'string-padding' diff --git a/src/cli/out.js b/src/cli/out.js index 62e3a26..e3815ad 100644 --- a/src/cli/out.js +++ b/src/cli/out.js @@ -11,10 +11,10 @@ Output routines for HackMyResume. var chalk = require('chalk') - , HME = require('hackmycore/src/core/event-codes') + , HME = require('hackmycore/dist/core/event-codes') , _ = require('underscore') - , Class = require('hackmycore/src/utils/class.js') - , M2C = require('hackmycore/src/utils/md2chalk.js') + , Class = require('hackmycore/dist/utils/class.js') + , M2C = require('hackmycore/dist/utils/md2chalk.js') , PATH = require('path') , LO = require('lodash') , FS = require('fs')