Skip to content

Commit

Permalink
Change binary path to linux
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhntd committed Mar 30, 2022
1 parent 97be257 commit 141fe66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions translator/cmdutil/translatorutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ func getJsonConfigMap(jsonConfigFilePath, osType string) (map[string]interface{}
curPath := getCurBinaryPath()
if osType == config.OS_TYPE_WINDOWS {
jsonConfigFilePath = filepath.Join(curPath, jsonTemplateName_Windows)
} else if osType == config.OS_TYPE_LINUX {
jsonConfigFilePath = filepath.Join(curPath, jsonTemplateName_Linux)
} else {
} else if osType == config.OS_TYPE_DARWIN {
jsonConfigFilePath = filepath.Join(curPath, jsonTemplateName_Darwin)
} else {
jsonConfigFilePath = filepath.Join(curPath, jsonTemplateName_Linux)
}
}
log.Printf("Reading json config file path: %v ...", jsonConfigFilePath)
Expand Down

0 comments on commit 141fe66

Please sign in to comment.