Skip to content

Commit a996b69

Browse files
committed
Remove comments
1 parent 1737917 commit a996b69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vmdetect/windows.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,9 @@ func checkRegistry() (bool, string) {
161161
If so, a non-empty string is also returned to tell how it was detected.
162162
*/
163163
func IsRunningInVirtualMachine() (bool, string) {
164-
/*if vmDetected, how := CommonChecks(); vmDetected {
164+
if vmDetected, how := CommonChecks(); vmDetected {
165165
return vmDetected, how
166-
}*/
166+
}
167167

168168
if vmDetected, registryKey := checkRegistry(); vmDetected {
169169
return vmDetected, fmt.Sprintf("Registry key (%v)", registryKey)

0 commit comments

Comments
 (0)