Skip to content

Commit b1e7e07

Browse files
committed
chore: Display CLI button to linux too
1 parent 6699ef3 commit b1e7e07

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/extension.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,11 @@ export async function activate(context: vscode.ExtensionContext) {
9898
(vscode.env.appName.toLowerCase().includes('code') && !!vscode.extensions.getExtension('GitHub.copilot'))
9999
)
100100

101-
await vscode.commands.executeCommand('setContext', 'codacy:canInstallCLI', os.platform() === 'darwin')
101+
await vscode.commands.executeCommand(
102+
'setContext',
103+
'codacy:canInstallCLI',
104+
os.platform() === 'darwin' || os.platform() === 'linux'
105+
)
102106

103107
Config.init(context)
104108

0 commit comments

Comments
 (0)