Comparing version 2.1.0 to 2.1.1
@@ -7,3 +7,8 @@ 'use strict'; | ||
function win(cb) { | ||
function win(opts, cb) { | ||
if (typeof opts !== 'object') { | ||
cb = opts; | ||
opts = {}; | ||
} | ||
tasklist(function (err, data) { | ||
@@ -10,0 +15,0 @@ if (err) { |
{ | ||
"name": "ps-list", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Get running processes", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -40,5 +40,7 @@ # ps-list [![Build Status](https://travis-ci.org/sindresorhus/ps-list.svg?branch=master)](https://travis-ci.org/sindresorhus/ps-list) [![Build status](https://ci.appveyor.com/api/projects/status/i733mfqw11sja2xf/branch/master?svg=true)](https://ci.appveyor.com/project/sindresorhus/ps-list/branch/master) | ||
On Windows this has no effect and will always be the users' own processes. | ||
## License | ||
MIT © [Sindre Sorhus](http://sindresorhus.com) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4184
69
46