Skip to content

Commit 2e8f8a1

Browse files
committed
changed nreplController to use cross-spawn to avoid spawn ENOENT error on Windows
1 parent a77f59f commit 2e8f8a1

3 files changed

Lines changed: 61 additions & 2 deletions

File tree

package-lock.json

Lines changed: 58 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
},
7979
"dependencies": {
8080
"bencoder": "^0.0.5",
81+
"cross-spawn": "^5.1.0",
8182
"jszip": "^3.1.1"
8283
},
8384
"repository": {

src/nreplController.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import 'process';
22
import * as vscode from 'vscode';
3-
import { spawn, ChildProcess } from 'child_process';
3+
import { spawn } from 'cross-spawn';
4+
import { ChildProcess } from 'child_process';
45

56
import { CljConnectionInformation } from './cljConnection';
67

0 commit comments

Comments
 (0)