diff --git a/libs/remix-ui/workspace/src/lib/actions/index.ts b/libs/remix-ui/workspace/src/lib/actions/index.ts index fc5e64f389..11de027fb9 100644 --- a/libs/remix-ui/workspace/src/lib/actions/index.ts +++ b/libs/remix-ui/workspace/src/lib/actions/index.ts @@ -274,7 +274,6 @@ const buildGistPayload = (selectedFiles: { key: string, type: 'file' | 'folder', export const publishFilesToGist = (arrayOfSelectedFiles: any) => { const gistPayload = buildGistPayload(arrayOfSelectedFiles) if (!gistPayload) { - console.error('No files to publish'); return; } console.log('primed and ready', gistPayload) @@ -296,7 +295,6 @@ export const publishFilesToGist = (arrayOfSelectedFiles: any) => { public: true, files: gistPayload }, (error, result) => { - console.log('what comes back from gist creation', { error, result }) handleGistResponse(error, result) }) console.log('publishFilesToGistIsDone') @@ -318,7 +316,6 @@ export const publishToGist = async (path?: string) => { id = await plugin.call('filePanel', 'isGist') } const packaged = await packageGistFiles(folder) - console.log('packed files', packaged) // check for token const config = plugin.registry.get('config').api const accessToken = config.get('settings/gist-access-token') @@ -370,7 +367,6 @@ export const publishToGist = async (path?: string) => { public: true, files: packaged }, (error, result) => { - console.log('what comes back from gist creation', { error, result }) handleGistResponse(error, result) }) } @@ -585,7 +581,6 @@ export const restoreBackupZip = async () => { const packageGistFiles = async (directory) => { const workspaceProvider = plugin.fileProviders.workspace const isFile = await workspaceProvider.isFile(directory) - console.log('here is the state of things in packageGistFiles', { directory, isFile }) return new Promise((resolve, reject) => { const ret = {} diff --git a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx index f8cbacb9d1..585005b123 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -174,7 +174,6 @@ export function Workspace() { const content = await global.plugin.call('fileManager', 'readFile', one.key) selectedFiles.push({ key: one.key, type: one.type, content: content }) } - console.log('Files selected', selectedFiles) global.dispatchPublishFilesToGist(selectedFiles) } catch (error) { await global.plugin.call('notification', 'toast', 'Could not publish files to gist. There was an error') @@ -184,7 +183,6 @@ export function Workspace() { useEffect(() => { global.plugin.on('finishedGistPublish', (folderName) => { - console.log('finished publishing to gist', folderName) }) }, [])