Skip to content

Commit

Permalink
👕
Browse files Browse the repository at this point in the history
  • Loading branch information
BinaryMuse committed May 17, 2017
1 parent 5cd0049 commit 11c1151
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/package-transpilation-registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ class PackageTranspilationRegistry {

removeTranspilerConfigForPath (packagePath) {
delete this.configByPackagePath[packagePath]
const packagePathWithSep = packagePath.endsWith(path.sep) ?
path.join(packagePath) : path.join(packagePath) + path.sep;
const packagePathWithSep = packagePath.endsWith(path.sep)
? path.join(packagePath) : path.join(packagePath) + path.sep
Object.keys(this.specByFilePath).forEach(filePath => {
if (path.join(filePath).startsWith(packagePathWithSep)) {
delete this.specByFilePath[filePath]
Expand Down

0 comments on commit 11c1151

Please sign in to comment.