summaryrefslogtreecommitdiff
path: root/deno_dir.go
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-05-19 05:56:02 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-05-19 05:56:02 -0400
commitca8eb1d421cbe4dbe6f80312b9cc6e1f9ed4a47c (patch)
tree102b16f0ec57f81cb39e3a866832757c5aef3eb0 /deno_dir.go
parent258aa565321493fbf6b4325d7b00dbb2058d646a (diff)
privatize some methods
Diffstat (limited to 'deno_dir.go')
-rw-r--r--deno_dir.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/deno_dir.go b/deno_dir.go
index 841288936..b3a8c78b9 100644
--- a/deno_dir.go
+++ b/deno_dir.go
@@ -28,7 +28,7 @@ func CacheFileName(filename string, sourceCodeBuf []byte) string {
// Fetches a remoteUrl but also caches it to the localFilename.
func FetchRemoteSource(remoteUrl string, localFilename string) ([]byte, error) {
//println("FetchRemoteSource", remoteUrl)
- Assert(strings.HasPrefix(localFilename, SrcDir), localFilename)
+ assert(strings.HasPrefix(localFilename, SrcDir), localFilename)
var sourceReader io.Reader
file, err := os.Open(localFilename)