fix: use xdg dir as default cli Path #1500
Annotations
8 errors and 11 warnings
Lint:
src/snyk/cli/cliExecutable.ts#L40
Delete `·`
|
Lint:
src/snyk/common/languageServer/languageServer.ts#L164
Replace `⏎······this.configuration,⏎······this.user,⏎····` with `this.configuration,·this.user`
|
Lint:
src/snyk/common/languageServer/middleware.ts#L44
Replace `⏎········this.configuration,⏎········this.user,⏎······` with `this.configuration,·this.user`
|
Lint:
src/snyk/common/languageServer/settings.ts#L52
Replace `⏎····configuration:·IConfiguration,⏎····user:·User,⏎··` with `configuration:·IConfiguration,·user:·User`
|
Lint:
src/snyk/common/services/downloadService.ts#L92
Replace `⏎······this.extensionContext.extensionPath,⏎····` with `this.extensionContext.extensionPath`
|
Lint:
src/test/unit/common/languageServer/middleware.test.ts#L113
Replace `⏎······serverResult.cliPath,⏎······await·configuration.getCliPath(),⏎····` with `serverResult.cliPath,·await·configuration.getCliPath()`
|
Lint:
src/test/unit/common/languageServer/settings.test.ts#L49
Replace `⏎········mockConfiguration,⏎········mockUser,⏎······` with `mockConfiguration,·mockUser`
|
Lint
Process completed with exit code 1.
|
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/
|
Lint:
src/snyk/cli/services/cliService.ts#L2
'unknown' overrides all other types in this union type
|
Lint:
src/snyk/common/configuration/configuration.ts#L36
'extensionContext' is defined but never used. Allowed unused vars must match /^_/u
|
Lint:
src/snyk/common/error/errorHandler.ts#L14
'unknown' overrides all other types in this union type
|
Lint:
src/snyk/common/error/errorHandler.ts#L27
'unknown' overrides all other types in this union type
|
Lint:
src/snyk/common/error/errorHandler.ts#L32
'unknown' overrides all other types in this union type
|
Lint:
src/snyk/common/languageServer/languageServer.ts#L22
'CliExecutable' is defined but never used. Allowed unused vars must match /^_/u
|
Lint:
src/snyk/common/languageServer/settings.ts#L6
'ExtensionContext' is defined but never used. Allowed unused vars must match /^_/u
|
Lint:
src/snyk/common/views/issueTreeProvider.ts#L212
The two values in this comparison do not have a shared enum type
|
Lint:
src/snyk/common/vscode/workspace.ts#L12
Unexpected any. Specify a different type
|
Lint:
src/snyk/common/vscode/workspace.ts#L35
Unexpected any. Specify a different type
|
Loading