fix comments

pull/2908/head
filip mertens 2 years ago
parent 2f4d03c312
commit d3423fc711
  1. 4
      apps/remix-ide/src/app/plugins/parser/services/code-parser-antlr-service.ts

@ -122,7 +122,6 @@ export default class CodeParserAntlrService {
try {
this.plugin.currentFile = await this.plugin.call('fileManager', 'file')
if (this.plugin.currentFile && this.plugin.currentFile.endsWith('.sol')) {
if (!this.plugin.currentFile) return
const fileContent = text || await this.plugin.call('fileManager', 'readFile', this.plugin.currentFile)
if (!this.cache[this.plugin.currentFile]) {
this.cache[this.plugin.currentFile] = {
@ -137,8 +136,6 @@ export default class CodeParserAntlrService {
} catch (e) {
// do nothing
}
} else {
// do nothing
}
}
} catch (e) {
@ -243,7 +240,6 @@ export default class CodeParserAntlrService {
}
}
if (this.plugin.currentFile && this.plugin.currentFile.endsWith('.sol')) {
if (!this.plugin.currentFile) return
const fileContent = text || await this.plugin.call('fileManager', 'readFile', this.plugin.currentFile)
try {
const startTime = Date.now()

Loading…
Cancel
Save