Removed async/await

pull/5370/head
ioedeveloper 5 years ago
parent 7392c090cd
commit 0f0ca921e9
  1. 4
      apps/remix-ide/src/app/editor/sourceHighlighter.js

@ -31,7 +31,7 @@ class SourceHighlighter {
}
}
async currentSourceLocationFromfileName (lineColumnPos, filePath, style) {
currentSourceLocationFromfileName (lineColumnPos, filePath, style) {
if (this.statementMarker) this._deps.editor.removeMarker(this.statementMarker, this.source)
if (this.fullLineMarker) this._deps.editor.removeMarker(this.fullLineMarker, this.source)
this.statementMarker = null
@ -40,7 +40,7 @@ class SourceHighlighter {
if (lineColumnPos) {
this.source = filePath
if (this._deps.config.get('currentFile') !== this.source) {
await this._deps.fileManager.switchFile(this.source)
this._deps.fileManager.switchFile(this.source)
}
const css = csjs`

Loading…
Cancel
Save