File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -74,11 +74,12 @@ func main() {
7474 // Default paths
7575 defaultLocalPath := filepath .Join (appDir , "SensitiveList.json" ) // ./SensitiveList.json
7676 defaultGlobalPath := "/usr/local/bin/SensitiveList.json" // /usr/local/bin/SensitiveList.json
77-
77+ fmt . Printf ( "Checking for SensitiveList.json in %s \n and %s \n " , appDir , defaultGlobalPath )
7878 // Check if the file exists in the application's directory
7979 configfilepath := defaultLocalPath
8080 if _ , err := os .Stat (configfilepath ); os .IsNotExist (err ) {
8181 // If not found in the app directory, fall back to /usr/local/bin
82+ fmt .Printf ("SensitiveList.json not found in %s, trying %s\n " , appDir , defaultGlobalPath )
8283 configfilepath = defaultGlobalPath
8384 }
8485
You can’t perform that action at this time.
0 commit comments