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