Skip to content

Commit

Permalink
fix(configuration): fixed typo in configuration that caused a crash
Browse files Browse the repository at this point in the history
BREAKING CHANGE: changed configuration name for JS file extensions
  • Loading branch information
Boris Litvinsky committed Oct 24, 2018
1 parent 571a34f commit 6aa25bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as path from 'path';
import { config } from './editor';

export const shouldBeConsideredJsFiles = (...files) => {
const extentionsToBeConsideredJS = config().jsFilesExtensions;
const extentionsToBeConsideredJS = config().jsFilesExtentions;
return files.every(file => extentionsToBeConsideredJS.includes(path.extname(file).replace('.', '')));
}

Expand Down

0 comments on commit 6aa25bc

Please sign in to comment.