Skip to content

Commit 451be24

Browse files
committed
save output of sort to the right location
1 parent e421d35 commit 451be24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/stringray/Commands/SortCommand.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ struct SortCommand: Command {
3636
private func sort(url: Foundation.URL) throws {
3737
var table = try StringsTableLoader().load(url: url)
3838
table.sort()
39-
try write(to: url, table: table)
39+
try write(to: url.resourceDirectory, table: table)
4040
}
4141
}

0 commit comments

Comments
 (0)