From 6d8fcd90c174a0b98f82589566f6552da3f74b33 Mon Sep 17 00:00:00 2001 From: xXlokerXx Date: Mon, 8 Jul 2019 19:48:09 -0500 Subject: [PATCH] Fix sintax error --- model/command_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/command_config.go b/model/command_config.go index 6da2288..fa98c0a 100644 --- a/model/command_config.go +++ b/model/command_config.go @@ -136,7 +136,7 @@ func (c *CommandConfig) UpdateImportPath() error { importPath = currentPath[len(path)+1:] // Remove the source from the path if it is there isSRC := strings.ToLower(importPath[0:4]) - if len(importPath) > 4 && (isSRC == "src/" || isSRC == "src\\")) { + if len(importPath) > 4 && (isSRC == "src/" || isSRC == "src\\") { importPath = importPath[4:] } else if importPath == "src" { if c.Index != VERSION {