diff --git a/lib/asset-manifest-generator.js b/lib/asset-manifest-generator.js index eb178a6..f528c3e 100644 --- a/lib/asset-manifest-generator.js +++ b/lib/asset-manifest-generator.js @@ -65,7 +65,7 @@ AssetManifestGenerator.prototype.build = function() { var existingManifestPath = this.inputPaths[1]; var existingManifest; - // Check to see if we have an exisiting manifest. If not, than use a new + // Check to see if we have an existing manifest. If not, than use a new // empty manifest. try { existingManifest = fs.readJsonSync(path.join(existingManifestPath, 'asset-manifest.json')) diff --git a/lib/manifest-generator.js b/lib/manifest-generator.js index 726bd45..528872e 100644 --- a/lib/manifest-generator.js +++ b/lib/manifest-generator.js @@ -1,7 +1,4 @@ -var path = require('path'); -var fs = require('fs-extra'); var Addon = require('ember-cli/lib/models/addon'); -var mergeTrees = require('broccoli-merge-trees'); var objectAssign = require('object-assign'); var findHost = require('./utils/find-host'); diff --git a/lib/node-asset-manifest-generator.js b/lib/node-asset-manifest-generator.js index 74243b0..c86fbb5 100644 --- a/lib/node-asset-manifest-generator.js +++ b/lib/node-asset-manifest-generator.js @@ -1,5 +1,4 @@ var Plugin = require('broccoli-caching-writer'); -var walk = require('walk-sync'); var path = require('path'); var fs = require('fs-extra'); diff --git a/lib/utils/find-host.js b/lib/utils/find-host.js index eaf3869..16a54a8 100644 --- a/lib/utils/find-host.js +++ b/lib/utils/find-host.js @@ -3,7 +3,7 @@ * up the parent/app hierarchy. * * @param {EmberAddon|EmberApp} context - * @return {EmberApp} app + * @return {EmberApp} */ module.exports = function findHost(context) { var current = context; diff --git a/node-tests/asset-manifest-inserter-tests.js b/node-tests/asset-manifest-inserter-tests.js index fef077f..194e23b 100644 --- a/node-tests/asset-manifest-inserter-tests.js +++ b/node-tests/asset-manifest-inserter-tests.js @@ -65,11 +65,9 @@ describe('asset-manifest-inserter', function() { var output = results.directory; var indexFilePath = path.join(output, 'index.html'); var testIndexFilePath = path.join(output, 'tests', 'index.html'); - var manifestFilePath = path.join(inputTrees[0], 'asset-manifest.json') var index = fs.readFileSync(indexFilePath, { encoding: 'utf8' }); var testIndex = fs.readFileSync(testIndexFilePath, { encoding: 'utf8' }); - var assetManifest = fs.readJsonSync(manifestFilePath); var appNeedle = 'herp-de-derp'; assert.notEqual(index.indexOf(appNeedle), -1);