From 0fa2596f29d186aab853022112442e147bac1a20 Mon Sep 17 00:00:00 2001 From: DarthPestilane Date: Mon, 4 Jun 2018 15:16:46 +0800 Subject: [PATCH] fix json tag on Path of Tool --- realize/tools.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/realize/tools.go b/realize/tools.go index 641aed5..86ff604 100644 --- a/realize/tools.go +++ b/realize/tools.go @@ -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"`