We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a446be commit 836bc7aCopy full SHA for 836bc7a
src/commands/compile.ts
@@ -100,7 +100,7 @@ async function importFile(
100
content = file.content.split(/\r?\n/);
101
102
// Avoid appending a blank line on every save, which would cause a web app file to grow each time
103
- if (content.length > 1 && content[content.length - 1] === "") {
+ if (file.name.includes("/") && content.length > 1 && content[content.length - 1] == "") {
104
content.pop();
105
}
106
} else {
0 commit comments