Skip to content

Commit 350da10

Browse files
authored
Merge pull request #70 from codacy/cli-install-to-all
chore: Enable cli install to linux
2 parents 554ca51 + b1e7e07 commit 350da10

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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)