Skip to content

Commit

Permalink
disable fix applying
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshalX committed Dec 9, 2024
1 parent f9af0e8 commit a0701c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 2 additions & 0 deletions src/ui/panels/violation/js.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ export default (detectionType: CliScanType) => `
}
const renderAiRemediation = (remediation, isFixAvailable) => {
isFixAvailable = false; // disable fix for now; not ready for production
hideElement('ai-remediation-btn');
showElement('ai-remediation');
ge('ai-remediation-text').innerHTML = remediation;
Expand Down
8 changes: 1 addition & 7 deletions src/ui/views/auth/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,8 @@ import { VscodeCommands } from '../../../commands';

const body = `
<p>
Cycode extension requires pre-installed
<a
class="styled-link"
href="https://github.com/cycodehq/cycode-cli#install-cycode-cli"
>Cycode CLI</a>
<button id="authenticate-button">Authenticate</button>
</p>
<button id="authenticate-button">Authenticate</button>
<p>
To learn more about how to use Cycode in VSCode
Expand All @@ -18,7 +13,6 @@ const body = `
href="https://github.com/cycodehq/vscode-extension/blob/main/README.md"
>read our docs</a>.
</p>
</div>
<script>
registerButton('authenticate-button', '${VscodeCommands.AuthCommandId}', 'Authenticating...');
Expand Down

0 comments on commit a0701c8

Please sign in to comment.