Fix sintaxis error

This commit is contained in:
xXlokerXx
2019-07-08 19:19:33 -05:00
parent 0b23b3e494
commit aa459c1b66

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 {