Skip to content

Commit adae402

Browse files
ci: Add terser-webpack-plugin to the dev dependency definition, given it is used there
Assisted-by: ClaudeCode:claude-sonnet-5 Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
1 parent c2a5bf8 commit adae402

3 files changed

Lines changed: 341 additions & 65 deletions

File tree

build-js/WebpackSPDXPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class WebpackSPDXPlugin {
4444
* @param {string} dir Directory to start checking
4545
*/
4646
async #findPackage(dir) {
47-
if (!dir || dir === '/' || dir === '.') {
47+
if (!dir || dir === '/' || dir === '.' || path.dirname(dir) === dir) {
4848
return null
4949
}
5050

0 commit comments

Comments
 (0)