Skip to content

Commit 5b8c90a

Browse files
committed
Ensure consistent sort order using LC_ALL=C
> *** WARNING *** The locale specified by the environment affects sort > order. Set LC_ALL=C to get the traditional sort order that uses native > byte values. > — `man sort`
1 parent ba17fe5 commit 5b8c90a

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

generateIndices.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
ROOT_DIR="./src"
44

5+
LC_ALL=C
6+
57
generate_indices() {
68
local dir="$1"
79
local index_file="$dir/index.ts"

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* Auto-generated by generateIndices.sh */
22
export * from "./Request.js";
3-
export * from "./Server.js";
43
export * from "./ServerErrorRegistry.js";
4+
export * from "./Server.js";
55
export * from "./response/index.js";
66
export * from "./routing/index.js";

src/routing/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
/* Auto-generated by generateIndices.sh */
22
export * from "./EndpointRoute.js";
3-
export * from "./Route.js";
43
export * from "./RouteRegistry.js";
4+
export * from "./Route.js";

0 commit comments

Comments
 (0)