mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
fix wasm prettier (#5055)
This commit is contained in:
1 parent
9417eec81e
commit
e2f7d5b2f9
1 file changed
+3
-3
@@ -78,9 +78,9 @@ function updateSnippet() {
|
||||
// the require here creates a webpack context; it's fine to use it
|
||||
// dynamically.
|
||||
// https://webpack.js.org/guides/dependency-management/
|
||||
const {
|
||||
default: snippet,
|
||||
} = require(`raw-loader!../snippets/${selected}.py`);
|
||||
const { default: snippet } = require(
|
||||
`raw-loader!../snippets/${selected}.py`,
|
||||
);
|
||||
|
||||
editor.setValue(snippet);
|
||||
runCodeFromTextarea();
|
||||
|
||||
Reference in new issue
Block a user