Skip to content

Commit 55284fc

Browse files
committed
Fix generate
1 parent d2aa3c7 commit 55284fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/bundled/generate.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import (
1414

1515
"github.com/microsoft/typescript-go/internal/ast"
1616
"github.com/microsoft/typescript-go/internal/core"
17+
"github.com/microsoft/typescript-go/internal/locale"
1718
"github.com/microsoft/typescript-go/internal/parser"
1819
"github.com/microsoft/typescript-go/internal/repo"
1920
"github.com/microsoft/typescript-go/internal/tspath"
@@ -150,7 +151,7 @@ func readLibs() []lib {
150151

151152
if len(diags) > 0 {
152153
for _, diag := range diags {
153-
log.Printf("%s", diag.Message())
154+
log.Printf("%s", diag.Localize(locale.Default))
154155
}
155156
log.Fatalf("failed to parse libs.json")
156157
}

0 commit comments

Comments
 (0)