fix opening generated file in the editor

pull/374/head
yann300 4 years ago
parent 95479ad68b
commit 042d03a94d
  1. 2
      apps/remix-ide/src/app/tabs/debugger/debuggerUI.js

@ -105,7 +105,7 @@ class DebuggerUI {
// check in generated sources // check in generated sources
for (const source of generatedSources) { for (const source of generatedSources) {
if (source.id === rawLocation.file) { if (source.id === rawLocation.file) {
path = `.debugger/generated-sources/${source.name}` path = `browser/.debugger/generated-sources/${source.name}`
let content let content
try { try {
content = await this.debuggerModule.call('fileManager', 'getFile', path, source.contents) content = await this.debuggerModule.call('fileManager', 'getFile', path, source.contents)

Loading…
Cancel
Save