Fix sintax error

This commit is contained in:
xXlokerXx
2019-07-08 19:48:09 -05:00
parent aa459c1b66
commit 6d8fcd90c1

View File

@@ -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 {