snyk-sbt-plugin
Advanced tools
Comparing version 2.5.3 to 2.5.4
@@ -100,10 +100,5 @@ "use strict"; | ||
} | ||
if (/index.js$/.test(__filename)) { | ||
// running from ./dist | ||
return path.join(__dirname, `../lib/${pluginName}`); | ||
if (/index.[tj]s$/.test(__filename)) { | ||
return path.join(__dirname, `../scala/${pluginName}`); | ||
} | ||
else if (/index.ts$/.test(__filename)) { | ||
// running from ./lib | ||
return path.join(__dirname, pluginName); | ||
} | ||
else { | ||
@@ -110,0 +105,0 @@ throw new Error(`Cannot locate ${pluginName} script`); |
@@ -46,3 +46,3 @@ { | ||
}, | ||
"version": "2.5.3" | ||
"version": "2.5.4" | ||
} |
Sorry, the diff of this file is not supported yet
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
41695
558