Skip to content

Commit 35882d3

Browse files
authored
fix: sanitize NULL characters
1 parent 5b7816d commit 35882d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/commandkit/src/cli/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export async function buildApplication({
149149
]),
150150
),
151151
outputOptions: {
152-
sanitizeFileName: (name) => name,
152+
sanitizeFileName: (name) => name.replace(/\0/g, ''),
153153
},
154154
unbundle: isDev
155155
? true

0 commit comments

Comments
 (0)