fix up numberer
This commit is contained in:
parent
a8e96e9fbe
commit
74936129fb
@ -69,7 +69,7 @@ func main() {
|
||||
oldName := sourceMap[indexName]
|
||||
newName := fmt.Sprintf("%03d-%s", index+1, indexName)
|
||||
if oldName != newName {
|
||||
os.Rename(oldName, newName)
|
||||
os.Rename("src/"+oldName, "src/"+newName)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user