Skip to content

Commit 6a41c96

Browse files
Fix carton bundle regression
The issue was introduced in faee016
1 parent 0aa0cb7 commit 6a41c96

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/CartonFrontend/Commands/CartonFrontendBundleCommand.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,7 @@ struct CartonFrontendBundleCommand: AsyncParsableCommand {
178178

179179
// Copy the bundle entrypoint, point to the binary, and give it a cachebuster name.
180180
let entrypoint = ByteString(
181-
encodingAsUTF8: StaticResource.bundle
182-
.description
181+
encodingAsUTF8: String(decoding: StaticResource.bundle, as: UTF8.self)
183182
.replacingOccurrences(
184183
of: "REPLACE_THIS_WITH_THE_MAIN_WEBASSEMBLY_MODULE",
185184
with: mainModuleName

0 commit comments

Comments
 (0)