Skip to content

Commit 0bccbc3

Browse files
committed
don't overwrite package path with "main" when building dir (fixes #312)
1 parent 158ce0b commit 0bccbc3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

build/build.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,6 @@ func (s *Session) BuildDir(packagePath string, importPath string, pkgObj string)
343343
return err
344344
}
345345
pkg := &PackageData{Package: buildPkg}
346-
pkg.ImportPath = "main"
347346
jsFiles, err := jsFilesFromDir(pkg.Dir)
348347
if err != nil {
349348
return err

0 commit comments

Comments
 (0)