Skip to content

Commit d916d5b

Browse files
committed
build: updated to new wasm SDK format usage
1 parent 4bbb093 commit d916d5b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

__tests__/snapshot/linux.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ describe('fetch linux tool data based on options', () => {
367367
const sdkSnapshots = await version.sdkSnapshots(tool)
368368
expect(sdkSnapshots.length).toBe(1)
369369
const sdkSnapshot = sdkSnapshots[0]
370-
expect(sdkSnapshot.platform).toBe('wasm')
370+
expect(sdkSnapshot.platform).toBe('wasm-sdk')
371371
expect(sdkSnapshot.dir).toBe('swift-6.2-RELEASE')
372372
expect(sdkSnapshot.branch).toBe('swift-6.2-release')
373373
expect(sdkSnapshot.download).toBe(
@@ -440,7 +440,7 @@ describe('fetch linux tool data based on options', () => {
440440
const sdkSnapshots = await version.sdkSnapshots(tool)
441441
expect(sdkSnapshots.length).toBe(1)
442442
const sdkSnapshot = sdkSnapshots[0]
443-
expect(sdkSnapshot.platform).toBe('wasm')
443+
expect(sdkSnapshot.platform).toBe('wasm-sdk')
444444
expect(sdkSnapshot.dir).toBe('swift-6.2-DEVELOPMENT-SNAPSHOT-2025-08-01-a')
445445
expect(sdkSnapshot.branch).toBe('swift-6.2-branch')
446446
expect(sdkSnapshot.download).toBe(
@@ -493,7 +493,7 @@ describe('fetch linux tool data based on options', () => {
493493
'9e4065031461c00a88912e94d0c7d847e701a28667f58facad49dc636de77b6f'
494494
)
495495
} else {
496-
expect(sdkSnapshot.platform).toBe('wasm')
496+
expect(sdkSnapshot.platform).toBe('wasm-sdk')
497497
expect(sdkSnapshot.download).toBe(
498498
'swift-6.2-DEVELOPMENT-SNAPSHOT-2025-08-01-a_wasm.artifactbundle.tar.gz'
499499
)

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/version/sdk/requirement/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class StaticLinux extends SdkRequirement {
3030

3131
export class Wasm extends SdkRequirement {
3232
constructor(version: string | undefined) {
33-
super('wasm', version)
33+
super('wasm-sdk', version)
3434
}
3535

3636
get download(): string {

0 commit comments

Comments
 (0)