Skip to content

Commit

Permalink
Just comment out the command config for now
Browse files Browse the repository at this point in the history
  • Loading branch information
franknoirot committed Jan 23, 2025
1 parent f55f7da commit ad89577
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions src/lib/kclCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,22 +168,21 @@ export function kclCommands(commandProps: KclCommandConfig): Command[] {
},
},
},
{
name: 'share-file-link',
displayName: 'Share file',
description: 'Create a link that contains a copy of the current file.',
groupId: 'code',
needsReview: false,
icon: 'link',
hide: 'both',
onSubmit: () => {
copyFileShareLink({
token: commandProps.authToken,
code: codeManager.code,
name: commandProps.projectData.project?.name || '',
units: commandProps.settings.defaultUnit,
}).catch(reportRejection)
},
},
// {
// name: 'share-file-link',
// displayName: 'Share file',
// description: 'Create a link that contains a copy of the current file.',
// groupId: 'code',
// needsReview: false,
// icon: 'link',
// onSubmit: () => {
// copyFileShareLink({
// token: commandProps.authToken,
// code: codeManager.code,
// name: commandProps.projectData.project?.name || '',
// units: commandProps.settings.defaultUnit,
// }).catch(reportRejection)
// },
// },
]
}

0 comments on commit ad89577

Please sign in to comment.