Skip to content

Commit e2f7d5b

Browse files
authored
fix wasm prettier (RustPython#5055)
1 parent 9417eec commit e2f7d5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

wasm/demo/src/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ function updateSnippet() {
7878
// the require here creates a webpack context; it's fine to use it
7979
// dynamically.
8080
// https://webpack.js.org/guides/dependency-management/
81-
const {
82-
default: snippet,
83-
} = require(`raw-loader!../snippets/${selected}.py`);
81+
const { default: snippet } = require(
82+
`raw-loader!../snippets/${selected}.py`,
83+
);
8484

8585
editor.setValue(snippet);
8686
runCodeFromTextarea();

0 commit comments

Comments
 (0)