-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
179 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
'use strict'; | ||
|
||
var Reporter = require('./lib/reporter'); | ||
var DependencyChecker = require('./lib/dependency-checker'); | ||
const Reporter = require('./lib/reporter'); | ||
const DependencyChecker = require('./lib/dependency-checker'); | ||
|
||
module.exports = { | ||
name: 'ember-cli-dependency-checker', | ||
init: function() { | ||
this._super.init && this._super.init.apply(this, arguments); | ||
var reporter = new Reporter(); | ||
var dependencyChecker = new DependencyChecker(this.project, reporter); | ||
|
||
const reporter = new Reporter(); | ||
const dependencyChecker = new DependencyChecker(this.project, reporter); | ||
dependencyChecker.checkDependencies(); | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
'use strict'; | ||
|
||
var assert = require('chai').assert; | ||
var DependencyError = require('../../lib/dependency-error'); | ||
const assert = require('chai').assert; | ||
const DependencyError = require('../../lib/dependency-error'); | ||
|
||
module.exports = function(project, type) { | ||
var checkDependencies = require('./check-dependencies')(project); | ||
const checkDependencies = require('./check-dependencies')(project); | ||
assert.throws(checkDependencies, DependencyError, 'Missing ' + type + ' packages'); | ||
}; |
Oops, something went wrong.