@magicspace/tslint-rules
Advanced tools
Comparing version 0.1.37 to 0.1.38
@@ -83,2 +83,5 @@ "use strict"; | ||
validateIsDirectoryModule(sourceFile, basePath) { | ||
if (/^\.{1,2}$/.test(basePath)) { | ||
return false; | ||
} | ||
let files; | ||
@@ -103,3 +106,4 @@ if (basePath === '') { | ||
} | ||
return this.validateIsDirectoryModule(sourceFile, nextBasePath.shift()); | ||
nextBasePath.pop(); | ||
return this.validateIsDirectoryModule(sourceFile, nextBasePath.join('/')); | ||
} | ||
@@ -106,0 +110,0 @@ } |
{ | ||
"name": "@magicspace/tslint-rules", | ||
"version": "0.1.37", | ||
"version": "0.1.38", | ||
"description": "Custom TSLint rules for MagicSpace.", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/makeflow/magicspace.git", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60751
1587