Skip to content
This repository was archived by the owner on Jul 28, 2020. It is now read-only.

Commit 1394329

Browse files
committed
Makes Host work on darwin
1 parent 4465d58 commit 1394329

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
package host
2+
3+
type Host struct {}

src/code.cloudfoundry.org/cfdev/host/host_windows.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ import (
88
"errors"
99
)
1010

11-
type Host struct {
12-
13-
}
14-
1511
const admin_role = "[Security.Principal.WindowsBuiltInRole]::Administrator"
1612
const current_user = "New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent())"
1713

0 commit comments

Comments
 (0)