aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-08-06 22:15:36 +0800
committerFelix Lange <fjl@twurst.com>2015-08-06 22:43:43 +0800
commit78b101e15d4a92d9f0f1d9ca49e45d5699adb3d2 (patch)
treeabe044da849d214eaa8db9c0c13a7ea273bc0d2d /cmd
parentb23b4dbd79b4699abde4b3954c7480e137ffc3be (diff)
downloadgo-tangerine-78b101e15d4a92d9f0f1d9ca49e45d5699adb3d2.tar.gz
go-tangerine-78b101e15d4a92d9f0f1d9ca49e45d5699adb3d2.tar.zst
go-tangerine-78b101e15d4a92d9f0f1d9ca49e45d5699adb3d2.zip
common: remove windows path functions
They were unused and their tests failed on Windows.
Diffstat (limited to 'cmd')
-rw-r--r--cmd/utils/flags.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index 815d48124..cf969805d 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -478,7 +478,7 @@ func MakeAccountManager(ctx *cli.Context) *accounts.Manager {
}
func IpcSocketPath(ctx *cli.Context) (ipcpath string) {
- if common.IsWindows() {
+ if runtime.GOOS == "windows" {
ipcpath = common.DefaultIpcPath()
if ctx.GlobalIsSet(IPCPathFlag.Name) {
ipcpath = ctx.GlobalString(IPCPathFlag.Name)