Comparing version 5.0.0 to 5.0.1
@@ -0,1 +1,3 @@ | ||
import process from 'process'; // eslint-disable-line node/prefer-global/process | ||
export default function hasFlag(flag, argv = process.argv) { | ||
@@ -2,0 +4,0 @@ const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--'); |
{ | ||
"name": "has-flag", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Check if argv has a specific flag", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
4292
35