@collaborne/github-badges
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -1,1 +0,1 @@ | ||
export declare function getArgs(): {}; | ||
export declare function getArgs(): Record<string, string | boolean>; |
{ | ||
"name": "@collaborne/github-badges", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Github SVG badges for repositories", | ||
@@ -29,3 +29,3 @@ "author": "Collaborne", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-prettier": "^4.1.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-promise": "^6.0.0", | ||
@@ -36,3 +36,3 @@ "eslint-plugin-standard": "^4.1.0", | ||
"ts-node": "~10.8.1", | ||
"typescript": "~4.7.4" | ||
"typescript": "^5.1.6" | ||
}, | ||
@@ -39,0 +39,0 @@ "overrides": { |
@@ -32,4 +32,4 @@ #!/usr/bin/env node | ||
createCoverageBadge( | ||
inputPath ? path.resolve(args[inputPath]) : undefined, | ||
outputPath ? path.resolve(args[outputPath]) : undefined, | ||
inputPath ? path.resolve(args[inputPath] as string) : undefined, | ||
outputPath ? path.resolve(args[outputPath] as string) : undefined, | ||
); |
export function getArgs() { | ||
const args = {}; | ||
const args: Record<string, string | boolean> = {}; | ||
process.argv.slice(2, process.argv.length).forEach(arg => { | ||
@@ -4,0 +4,0 @@ // long arg |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
21388