fix json tag on Path of Tool

This commit is contained in:
DarthPestilane 2018-06-04 15:16:46 +08:00
parent c86c8e56b3
commit 0fa2596f29
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ import (
type Tool struct {
Args []string `yaml:"args,omitempty" json:"args,omitempty"`
Method string `yaml:"method,omitempty" json:"method,omitempty"`
Path string `yaml:"path,omitempty" json:"dir,omitempty"`
Path string `yaml:"path,omitempty" json:"path,omitempty"`
Dir string `yaml:"dir,omitempty" json:"dir,omitempty"` //wdir of the command
Status bool `yaml:"status,omitempty" json:"status,omitempty"`
Output bool `yaml:"output,omitempty" json:"output,omitempty"`