Skip to content

Commit a71f2ff

Browse files
Update packages/svelte/scripts/check-treeshakeability.js
Co-authored-by: Ben McCann <[email protected]>
1 parent 35ff241 commit a71f2ff

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/svelte/scripts/check-treeshakeability.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ async function bundle_code(entry) {
2727
throw new Error('errr what');
2828
}
2929

30-
const code = output[0].code.trim();
31-
return code;
30+
return output[0].code.trim();
3231
}
3332

3433
const pkg = JSON.parse(fs.readFileSync('package.json', 'utf8'));

0 commit comments

Comments
 (0)