Update host_darwin.go
Copy+pasta got me again! 🍝 No new variable on the left of `:=` 😂
This commit is contained in:
parent
d13ba02ef0
commit
e507f44421
|
@ -190,7 +190,7 @@ func PlatformInformationWithContext(ctx context.Context) (string, string, string
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if the macos server version file exists
|
// check if the macos server version file exists
|
||||||
_, err := os.Stat("/System/Library/CoreServices/ServerVersion.plist")
|
_, err = os.Stat("/System/Library/CoreServices/ServerVersion.plist")
|
||||||
|
|
||||||
// server file doesn't exist
|
// server file doesn't exist
|
||||||
if os.IsNotExist(err) {
|
if os.IsNotExist(err) {
|
||||||
|
|
Loading…
Reference in New Issue