diff options
Diffstat (limited to 'os.go')
-rw-r--r-- | os.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -123,7 +123,7 @@ func HandleCodeFetch(moduleSpecifier string, containingFile string) (out []byte) sourceCodeBuf, err = FetchRemoteSource(moduleName, filename) } else if strings.HasPrefix(moduleName, assetPrefix) { f := strings.TrimPrefix(moduleName, assetPrefix) - sourceCodeBuf, err = Asset("dist/" + f) + sourceCodeBuf, err = Asset(path.Join("dist", f)) if err != nil { logDebug("%s Asset doesn't exist. Return without error", moduleName) err = nil |