|
|
@ -298,7 +298,7 @@ export const loadWorkspacePreset = async (template: WorkspaceTemplate = 'remixDe |
|
|
|
} |
|
|
|
} |
|
|
|
return Object.keys(standardInput.sources)[0] |
|
|
|
return Object.keys(standardInput.sources)[0] |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
// preserve JSON whitepsace if this isn't a Solidity compiler output file
|
|
|
|
// preserve JSON whitepsace if this isn't a Solidity compiler JSON-input-output file
|
|
|
|
content = data.content |
|
|
|
content = data.content |
|
|
|
await workspaceProvider.set(path, content) |
|
|
|
await workspaceProvider.set(path, content) |
|
|
|
} |
|
|
|
} |
|
|
|