diff --git a/.codeclimate.yml b/.codeclimate.yml deleted file mode 100644 index 8539c4f..0000000 --- a/.codeclimate.yml +++ /dev/null @@ -1,5 +0,0 @@ -engines: - eslint: - enabled: false - duplication: - enabled: false diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..1d95e28 --- /dev/null +++ b/.npmignore @@ -0,0 +1,9 @@ +.github/ +.tmp/ +.nyc_output/ +test/ +test-performance/ + +.istanbul.yml +.travis.yml +appveyor.yml diff --git a/lib/Core.js b/lib/Core.js index f464cf2..53c741b 100644 --- a/lib/Core.js +++ b/lib/Core.js @@ -122,8 +122,9 @@ const Core = module.exports = { app.log.warn('freezeConfig is disabled. Configuration will not be frozen.') app.log.warn('Please only use this flag for testing/debugging purposes.') } - - app.config.freeze() + else { + app.config.freeze() + } }) app.once('trailpack:all:initialized', () => { app.log.silly(lib.Templates.silly.initialized)