aboutsummaryrefslogtreecommitdiff
path: root/demo/src/compile.ts
diff options
context:
space:
mode:
authorUri Shaked2020-04-27 21:59:13 +0300
committerUri Shaked2020-04-27 21:59:13 +0300
commitc792b8c5938bc6331dc4869c6c51dc01cde75641 (patch)
treed70b95699ef73cdefd0d21417e14bb85c51dff27 /demo/src/compile.ts
parentchore(deps): prettier 2.0 (diff)
downloadavr8js-c792b8c5938bc6331dc4869c6c51dc01cde75641.tar.gz
avr8js-c792b8c5938bc6331dc4869c6c51dc01cde75641.tar.bz2
avr8js-c792b8c5938bc6331dc4869c6c51dc01cde75641.zip
style: reformat code with prettier 2.x
prettier rules have changed since we upgraded to 2.x
Diffstat (limited to 'demo/src/compile.ts')
-rw-r--r--demo/src/compile.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/demo/src/compile.ts b/demo/src/compile.ts
index 7ca7a72..fa846b1 100644
--- a/demo/src/compile.ts
+++ b/demo/src/compile.ts
@@ -12,9 +12,9 @@ export async function buildHex(source: string) {
mode: 'cors',
cache: 'no-cache',
headers: {
- 'Content-Type': 'application/json'
+ 'Content-Type': 'application/json',
},
- body: JSON.stringify({ sketch: source })
+ body: JSON.stringify({ sketch: source }),
});
return (await resp.json()) as HexiResult;
}