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