Skip to content

Commit f45cbd4

Browse files
authored
Merge pull request #31 from SocketDev/0.5.4
0.5.4
2 parents 6767b3a + fce797a commit f45cbd4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

lib/shadow/link.cjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ const path = require('path')
44

55
const which = require('which')
66

7+
if (process.platform === 'win32') {
8+
console.error('Socket npm and socket npx wrapper Windows suppport is limited to WSL at this time.')
9+
process.exit(1)
10+
}
11+
712
/**
813
* @param {string} realDirname path to shadow/bin
914
* @param {'npm' | 'npx'} binname

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@socketsecurity/cli",
3-
"version": "0.5.3",
3+
"version": "0.5.4",
44
"description": "CLI tool for Socket.dev",
55
"homepage": "http://github.com/SocketDev/socket-cli-js",
66
"repository": {

0 commit comments

Comments
 (0)