Skip to content

Commit

Permalink
code.LivePreview: doRunSource() => minor formatting change
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiu committed Dec 4, 2024
1 parent 5d98a76 commit 374a338
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/code/LivePreview.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,9 @@ class LivePreview extends Container {
index = path.lastIndexOf('../');

if (index === 0) {
path = '../../../../src/' + path.slice(index+3);
path = '../../../../src/' + path.slice(index + 3);
} else {
path = path.slice(0, index) + '../../../' + path.slice(index+3);
path = path.slice(0, index) + '../../../' + path.slice(index + 3);
}
}

Expand Down

0 comments on commit 374a338

Please sign in to comment.