File tree 4 files changed +8
-4
lines changed
4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
12
12
### Changed
13
13
14
+ - Extension no longer errors out if a log can't be written
15
+
14
16
## v1.8.0 - 2024-06-05
15
17
16
18
### Added
Original file line number Diff line number Diff line change 1
- import { tmpdir } from "os" ;
2
1
import { SemVer } from "semver" ;
3
- import { Uri } from "vscode" ;
4
2
5
3
export const SEMGREP_BINARY = "semgrep" ;
6
4
export const DIAGNOSTIC_COLLECTION_NAME = "semgrep-findings" ;
@@ -9,7 +7,6 @@ export const CLIENT_NAME = "Semgrep";
9
7
export const DEFAULT_RULESET = "p/r2c" ;
10
8
export const VSCODE_CONFIG_KEY = "semgrep" ;
11
9
export const VSCODE_EXT_NAME = CLIENT_NAME ;
12
- export const DEFAULT_LSP_LOG_FOLDER = Uri . file ( tmpdir ( ) ) ;
13
10
14
11
export type VersionInfo = {
15
12
latest : SemVer ;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import {
11
11
} from "vscode-languageclient" ;
12
12
import { Environment } from "../env" ;
13
13
import * as fs from "fs" ;
14
- import { DEFAULT_LSP_LOG_FOLDER } from "../constants " ;
14
+ import { DEFAULT_LSP_LOG_FOLDER } from "../utils " ;
15
15
16
16
// global here so if user opts out the functions below don't do anything
17
17
let sentryEnabled = false ;
Original file line number Diff line number Diff line change
1
+ import { tmpdir } from "os" ;
2
+ import { Uri } from "vscode" ;
3
+ // Can't put this in constants for some reason??
4
+ export const DEFAULT_LSP_LOG_FOLDER = Uri . file ( tmpdir ( ) ) ;
5
+
1
6
import { OutputChannel } from "vscode" ;
2
7
import * as vscode from "vscode" ;
3
8
You can’t perform that action at this time.
0 commit comments