commit | 6a3780f97381cd0931f691201988b6410910fcea | [log] [tgz] |
---|---|---|
author | TypeScript Team <noreply@google.com> | Mon Apr 08 15:48:50 2019 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Apr 08 15:49:11 2019 -0700 |
tree | c8eb785d82b52de1276fd4be43f2f3833b7532f1 | |
parent | 75677d50cc6899698993b1dd9a27fb91ead787e7 [diff] |
script names are prepended to scripts that are eval'ed but the names are missing for prescripts. PiperOrigin-RevId: 242554372
diff --git a/devserver/main.go b/devserver/main.go index a41b899..466a63d 100644 --- a/devserver/main.go +++ b/devserver/main.go
@@ -130,7 +130,7 @@ if err != nil { return "", err } - return string(buf), nil + return fmt.Sprintf("// %s\n%s", path, buf), nil } // manifestFiles parses a manifest, returning a list of the files in the manifest.