We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1366ba0 commit 4729432Copy full SHA for 4729432
src/api/transform/vscode-lm-format.ts
@@ -18,7 +18,7 @@ function asObjectSafe(value: any): object {
18
19
// Handle pre-existing objects
20
if (typeof value === "object") {
21
- return Object.assign({}, value)
+ return { ...value }
22
}
23
24
return {}
src/services/ripgrep/index.ts
@@ -48,7 +48,7 @@ rel/path/to/helper.ts
48
│----
49
*/
50
51
-const isWindows = /^win/.test(process.platform)
+const isWindows = process.platform.startsWith("win")
52
const binName = isWindows ? "rg.exe" : "rg"
53
54
interface SearchFileResult {
0 commit comments