From 7ba3a36f94b5dd274ecc932895a05072e6e0080c Mon Sep 17 00:00:00 2001 From: Shulhan Date: Tue, 6 Jan 2026 15:46:14 +0700 Subject: all: refactoring loadConfig and scanForSCM Previously, given the following command, $ spdxconv $path the loadConfig load the configuration from the path directory. This changes it to load the configuration from the current working directory where the tools run, not from $path directory. While for scanForSCM, previously its detect SCM from $path up to "/", now its scan from $path to current working directory only. While at it, we rename the dummySCM type to noSCM. --- testdata/scan_no_scm/node_modules/dummy | 1 + 1 file changed, 1 insertion(+) create mode 100644 testdata/scan_no_scm/node_modules/dummy (limited to 'testdata/scan_no_scm/node_modules/dummy') diff --git a/testdata/scan_no_scm/node_modules/dummy b/testdata/scan_no_scm/node_modules/dummy new file mode 100644 index 0000000..4e16aa0 --- /dev/null +++ b/testdata/scan_no_scm/node_modules/dummy @@ -0,0 +1 @@ +Dummy content for node_modules directory. \ No newline at end of file -- cgit v1.3