File: windows.js

package info (click to toggle)
node-which 1.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 192 kB
  • sloc: sh: 8; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 251 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
// pretend to be Windows.
if (process.platform === 'win32') {
  var t = require('tap')
  t.plan(0, 'already on windows')
  process.exit(0)
}

process.env.Path = process.env.PATH.split(':').join(';')
process.env.OSTYPE = 'cygwin'
require('./basic.js')