don't add the gist prefix

pull/2064/head
yann300 3 years ago
parent dfe738d76b
commit 67200d119c
  1. 2
      libs/remix-core-plugin/src/lib/gist-handler.ts

@ -114,7 +114,7 @@ export class GistHandler extends Plugin {
const obj: StringByString = {}
Object.keys(data.files).forEach((element) => {
const path = element.replace(/\.\.\./g, '/')
obj['/' + 'gist-' + gistId + '/' + path] = data.files[element]
obj['/' + gistId + '/' + path] = data.files[element]
})
this.call('fileManager', 'setBatchFiles', obj, 'workspace', true, async (errorSavingFiles: any) => {
if (errorSavingFiles) {

Loading…
Cancel
Save