Skip to content

Commit

Permalink
Write the article
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Azpillaga Aldalur committed Dec 4, 2023
1 parent 9a7eef9 commit 090108f
Show file tree
Hide file tree
Showing 7 changed files with 355 additions and 130 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/onpush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 12
node-version: 18

- name: Build project
run: npm install && npm run generateParser && npm run createDistribution && npm run bundle
Expand Down
481 changes: 353 additions & 128 deletions README.md

Large diffs are not rendered by default.

Binary file added docs/image-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/image-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/image-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/main/typescript/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function applyMonacoConfiguration(root?: Node) {
lineNumbers: JSONBoolean
};

if (((root as JSONObject)?.members.find(x => x.name === "applyMonacoConfiguration")?.value as JSONBoolean)?.value) {
if (((root as JSONObject)?.members?.find(x => x.name === "applyMonacoConfiguration")?.value as JSONBoolean)?.value) {
for (const member of (root as JSONObject).members) {
if (!(member.name in configuration)) {
diagnostics.push({
Expand Down

0 comments on commit 090108f

Please sign in to comment.