Skip to content

Commit 780c185

Browse files
committed
fix(envscan): GOOS=="windows"
1 parent de90e73 commit 780c185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

envinspection/inspection.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func InspectEnv(ctx context.Context) error {
3737
}
3838

3939
var scanFunc []func(ctx context.Context) ([]model.DependencyItem, error)
40-
if runtime.GOOS == "windows1" {
40+
if runtime.GOOS == "windows" {
4141
scanFunc = append(scanFunc, listInstalledSoftwareWindows /*listRunningProcessExecutableFileWindows*/)
4242
} else {
4343
scanFunc = append(scanFunc, listDpkgPackage, listRPMPackage /*listRunningProcessExecutableFilePosix*/)

0 commit comments

Comments
 (0)