1
This commit is contained in:
Alex Yatskov 2016-08-22 21:09:53 -07:00
parent e44d029f89
commit 8007dfd675

View File

@ -120,7 +120,7 @@ func outputTermJson(outputDir string, entries []termSource, entities map[string]
defCnt := len(dict.defs)
for i := 0; i < defCnt; i += REF_STEP_COUNT {
outputRef, err := os.Create(path.Join(outputDir, fmt.Sprintf("ref_%0.3d.json", i/REF_STEP_COUNT)))
outputRef, err := os.Create(path.Join(outputDir, fmt.Sprintf("ref_%d.json", i/REF_STEP_COUNT)))
if err != nil {
return err
}