Skip to content

fix: use xdg dir as default cli Path #1501

fix: use xdg dir as default cli Path

fix: use xdg dir as default cli Path #1501

Triggered via pull request December 9, 2024 08:18
Status Failure
Total duration 52s
Artifacts

ci.yaml

on: pull_request
Matrix: Build and Test
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 24 warnings
Build and Test (ubuntu-latest): src/snyk/common/languageServer/languageServer.ts#L164
Replace `⏎······this.configuration,⏎······this.user,⏎····` with `this.configuration,·this.user`
Build and Test (ubuntu-latest): src/snyk/common/languageServer/middleware.ts#L44
Replace `⏎········this.configuration,⏎········this.user,⏎······` with `this.configuration,·this.user`
Build and Test (ubuntu-latest): src/snyk/common/languageServer/settings.ts#L52
Replace `⏎····configuration:·IConfiguration,⏎····user:·User,⏎··` with `configuration:·IConfiguration,·user:·User`
Build and Test (ubuntu-latest): src/snyk/common/services/downloadService.ts#L92
Replace `⏎······this.extensionContext.extensionPath,⏎····` with `this.extensionContext.extensionPath`
Build and Test (ubuntu-latest): src/test/unit/common/languageServer/middleware.test.ts#L113
Replace `⏎······serverResult.cliPath,⏎······await·configuration.getCliPath(),⏎····` with `serverResult.cliPath,·await·configuration.getCliPath()`
Build and Test (ubuntu-latest): src/test/unit/common/languageServer/settings.test.ts#L49
Replace `⏎········mockConfiguration,⏎········mockUser,⏎······` with `mockConfiguration,·mockUser`
Build and Test (ubuntu-latest)
Process completed with exit code 1.
Build and Test (macos-latest)
The job was canceled because "ubuntu-latest" failed.
Build and Test (macos-latest): src/snyk/common/languageServer/languageServer.ts#L164
Replace `⏎······this.configuration,⏎······this.user,⏎····` with `this.configuration,·this.user`
Build and Test (macos-latest): src/snyk/common/languageServer/middleware.ts#L44
Replace `⏎········this.configuration,⏎········this.user,⏎······` with `this.configuration,·this.user`
Build and Test (macos-latest): src/snyk/common/languageServer/settings.ts#L52
Replace `⏎····configuration:·IConfiguration,⏎····user:·User,⏎··` with `configuration:·IConfiguration,·user:·User`
Build and Test (macos-latest): src/snyk/common/services/downloadService.ts#L92
Replace `⏎······this.extensionContext.extensionPath,⏎····` with `this.extensionContext.extensionPath`
Build and Test (macos-latest): src/test/unit/common/languageServer/middleware.test.ts#L113
Replace `⏎······serverResult.cliPath,⏎······await·configuration.getCliPath(),⏎····` with `serverResult.cliPath,·await·configuration.getCliPath()`
Build and Test (macos-latest): src/test/unit/common/languageServer/settings.test.ts#L49
Replace `⏎········mockConfiguration,⏎········mockUser,⏎······` with `mockConfiguration,·mockUser`
Build and Test (macos-latest)
The operation was canceled.
Build and Test (windows-latest)
The job was canceled because "ubuntu-latest" failed.
Build and Test (windows-latest)
The operation was canceled.
Build and Test (ubuntu-latest)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Build and Test (macos-latest)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Build and Test (windows-latest)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Build and Test (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build and Test (ubuntu-latest): src/snyk/cli/services/cliService.ts#L2
'unknown' overrides all other types in this union type
Build and Test (ubuntu-latest): src/snyk/common/configuration/configuration.ts#L36
'extensionContext' is defined but never used. Allowed unused vars must match /^_/u
Build and Test (ubuntu-latest): src/snyk/common/error/errorHandler.ts#L14
'unknown' overrides all other types in this union type
Build and Test (ubuntu-latest): src/snyk/common/error/errorHandler.ts#L27
'unknown' overrides all other types in this union type
Build and Test (ubuntu-latest): src/snyk/common/error/errorHandler.ts#L32
'unknown' overrides all other types in this union type
Build and Test (ubuntu-latest): src/snyk/common/languageServer/languageServer.ts#L22
'CliExecutable' is defined but never used. Allowed unused vars must match /^_/u
Build and Test (ubuntu-latest): src/snyk/common/languageServer/settings.ts#L6
'ExtensionContext' is defined but never used. Allowed unused vars must match /^_/u
Build and Test (ubuntu-latest): src/snyk/common/views/issueTreeProvider.ts#L212
The two values in this comparison do not have a shared enum type
Build and Test (ubuntu-latest): src/snyk/common/vscode/workspace.ts#L12
Unexpected any. Specify a different type
Build and Test (ubuntu-latest): src/snyk/common/vscode/workspace.ts#L35
Unexpected any. Specify a different type
Build and Test (macos-latest): src/snyk/cli/services/cliService.ts#L2
'unknown' overrides all other types in this union type
Build and Test (macos-latest): src/snyk/common/configuration/configuration.ts#L36
'extensionContext' is defined but never used. Allowed unused vars must match /^_/u
Build and Test (macos-latest): src/snyk/common/error/errorHandler.ts#L14
'unknown' overrides all other types in this union type
Build and Test (macos-latest): src/snyk/common/error/errorHandler.ts#L27
'unknown' overrides all other types in this union type
Build and Test (macos-latest): src/snyk/common/error/errorHandler.ts#L32
'unknown' overrides all other types in this union type
Build and Test (macos-latest): src/snyk/common/languageServer/languageServer.ts#L22
'CliExecutable' is defined but never used. Allowed unused vars must match /^_/u
Build and Test (macos-latest): src/snyk/common/languageServer/settings.ts#L6
'ExtensionContext' is defined but never used. Allowed unused vars must match /^_/u
Build and Test (macos-latest): src/snyk/common/views/issueTreeProvider.ts#L212
The two values in this comparison do not have a shared enum type
Build and Test (macos-latest): src/snyk/common/vscode/workspace.ts#L12
Unexpected any. Specify a different type
Build and Test (macos-latest): src/snyk/common/vscode/workspace.ts#L35
Unexpected any. Specify a different type