Skip to content

Commit 7792865

Browse files
committed
Update platform docs
1 parent 0d37b19 commit 7792865

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,13 @@ const run = async () => {
4646
logCallback: (message) => {
4747
console.log(message);
4848
},
49+
50+
// Different runtimes support different features. A project that is invalid in Scratch might
51+
// be valid for another runtime. This lets you control which runtime sb3fix targets.
4952
// Values: 'scratch' (default), 'turbowarp'
5053
platform: 'scratch'
5154
};
55+
5256
// To use the above options, just supply as the second argument when you call sb3fix:
5357
await sb3fix.fixZip(brokenZip, options);
5458
sb3fix.fixJSON(brokenJSON, options);

0 commit comments

Comments
 (0)