Skip to content

Commit

Permalink
fixed error message
Browse files Browse the repository at this point in the history
  • Loading branch information
meghan-bailey committed Jul 9, 2024
1 parent 0b002a5 commit 20b2daa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/trcinit/initlib/vsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ func DownloadTemplates(config *core.CoreConfig, mod *helperkv.Modifier, dirName
ext := ""
if strings.Contains(path, "Common") {
if !strings.Contains(path, ".") {
eUtils.LogErrorMessage(config, "Argument passed in incorrectly", false)
fmt.Println("Argument passed in incorrectly for template path: " + path)
eUtils.LogErrorMessage(config, "Expecting file extension with filepath", false)
fmt.Println("Expecting file extension with filepath: " + path)
}
}
if !strings.HasSuffix(filterTemplatePath, "/") {
Expand Down

0 comments on commit 20b2daa

Please sign in to comment.