Skip to content

Commit

Permalink
Fix eslint issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnAlbin committed Mar 21, 2017
1 parent 82b47ac commit 872ba86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions builder/base/kss_builder_base.js
Expand Up @@ -163,8 +163,8 @@ class KssBuilderBase {
*
* @param {string|function} builderClass The path to a builder or a builder
* class to load.
* @returns {Promise.<KssBuilder>} A `Promise` object resolving to a
* `KssBuilder` object, or one of its sub-classes.
* @returns {Promise.<KssBuilderBase>} A `Promise` object resolving to a
* `KssBuilderBase` object, or one of its sub-classes.
*/
static loadBuilder(builderClass) {
return new Promise((resolve, reject) => {
Expand Down
4 changes: 2 additions & 2 deletions lib/kss.js
Expand Up @@ -109,8 +109,8 @@ const kss = function(options) {

// Check the 'source' array for paths ending in .json and convert the first
// one into a KssStyleGuide object.
let jsonInput = builder.getOptions('source').find(filepath => {
return (path.extname(filepath) === '.json');
let jsonInput = builder.getOptions('source').find(filePath => {
return (path.extname(filePath) === '.json');
});

if (jsonInput) {
Expand Down

0 comments on commit 872ba86

Please sign in to comment.