fix: build error
This commit is contained in:
@@ -469,8 +469,3 @@ func splitKeywords(s string) []string {
|
|||||||
}
|
}
|
||||||
return res
|
return res
|
||||||
}
|
}
|
||||||
|
|
||||||
func resolveAbsScriptsDir() string {
|
|
||||||
cwd, _ := os.Getwd()
|
|
||||||
return filepath.Join(cwd, "data", "scripts")
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"runtime"
|
"runtime"
|
||||||
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
// GetShell 返回当前操作系统的 shell 和参数
|
// GetShell 返回当前操作系统的 shell 和参数
|
||||||
|
|||||||
Reference in New Issue
Block a user