Skip to content

Commit fb697c0

Browse files
miilordgopherbot
authored andcommitted
cmd/gotext: actually use -dir flag
gotext has the read -dir flag but is not used. The dir parameter should be passed to pipeline.Config Fixes golang/go#61507 Change-Id: I242a768964fe56c4c7877de9dc487777c6815dae Reviewed-on: https://go-review.googlesource.com/c/text/+/512015 Auto-Submit: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]>
1 parent f3e69ed commit fb697c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/gotext/main.go

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ func config() (*pipeline.Config, error) {
5353
Supported: getLangs(),
5454
TranslationsPattern: `messages\.(.*)\.json$`,
5555
GenFile: *out,
56+
Dir: *dir,
5657
}, nil
5758
}
5859

0 commit comments

Comments
 (0)