Fix #980 duplicate import

This commit is contained in:
sum01
2018-01-04 22:27:09 -05:00
parent 770cb87f7a
commit 8e741599dc

View File

@@ -416,7 +416,6 @@ func importFilePath() *lua.LTable {
pkg := L.NewTable()
L.SetField(pkg, "Join", luar.New(L, filepath.Join))
L.SetField(pkg, "Clean", luar.New(L, filepath.Join))
L.SetField(pkg, "Abs", luar.New(L, filepath.Abs))
L.SetField(pkg, "Base", luar.New(L, filepath.Base))
L.SetField(pkg, "Clean", luar.New(L, filepath.Clean))