Skip to content

Commit

Permalink
fix(readme): add missing semicolon to example code
Browse files Browse the repository at this point in the history
  • Loading branch information
erykpiast committed Feb 5, 2020
1 parent 6bbcbc3 commit 7bab557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Then add `bs-js-beautify` as a dependency to `bsconfig.json`.
```ocaml
let uglyCode = "if(window.x){console.log('It is x');}else{console.log('It is not');}"
in let prettyCode = JsBeautify.beautify ~indent_size:2 uglyCode
in Js.log prettyCode;
in Js.log prettyCode;;
```
```javascript
if (window.x) {
Expand Down

0 comments on commit 7bab557

Please sign in to comment.