devcam test: missing filepath.FromSlash

Change-Id: Icc3461d5435702414b1fe716ef81c18a8e3c2c34
This commit is contained in:
mpl 2014-10-27 22:52:27 +01:00
parent 0ac70ad2a5
commit db9a833d02
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ func (c *testCmd) runTests(args []string) 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 {
fmt.Println(string(out))
}