Skip to content

Commit

Permalink
add filter again
Browse files Browse the repository at this point in the history
  • Loading branch information
Aniket-Engg committed Dec 4, 2023
1 parent 4ab4e6d commit 5add804
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class CompileTabLogic {
this.event.emit('startingCompilation')
if(await this.api.fileExists('remappings.txt')) {
this.api.readFile('remappings.txt').then(remappings => {
this.compiler.set('remappings', remappings.split('\n'))
this.compiler.set('remappings', remappings.split('\n').filter(Boolean))
})
} else this.compiler.set('remappings', [])
if (this.configFilePath) {
Expand Down

0 comments on commit 5add804

Please sign in to comment.