mirror of https://github.com/perkeep/perkeep.git
devcam test: missing filepath.FromSlash
Change-Id: Icc3461d5435702414b1fe716ef81c18a8e3c2c34
This commit is contained in:
parent
0ac70ad2a5
commit
db9a833d02
|
@ -157,7 +157,7 @@ func (c *testCmd) runTests(args []string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *testCmd) runPrecommitHook() error {
|
func (c *testCmd) runPrecommitHook() error {
|
||||||
out, err := exec.Command("./misc/pre-commit.githook", "test").CombinedOutput()
|
out, err := exec.Command(filepath.FromSlash("./misc/pre-commit.githook"), "test").CombinedOutput()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println(string(out))
|
fmt.Println(string(out))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue