Comparing version 0.12.1 to 0.12.2
@@ -12,3 +12,3 @@ "use strict"; | ||
function* cli(argv) { | ||
const { command, directory, yes, dryRun } = parseOptions(argv); | ||
const { command, directory, yes, dryRun, cwd } = parseOptions(argv); | ||
const stream = (0, logger_1.default)(); | ||
@@ -22,2 +22,3 @@ const logger = (0, pino_1.pino)(stream); | ||
dryRun, | ||
cwd, | ||
}); | ||
@@ -55,2 +56,9 @@ } | ||
}) | ||
.options({ | ||
cwd: { | ||
type: "string", | ||
default: ".", | ||
describe: "context in which to run", | ||
}, | ||
}) | ||
.demandCommand(1) | ||
@@ -70,3 +78,5 @@ .help() | ||
directory: rawOptions.directory, | ||
// @ts-expect-error | ||
cwd: rawOptions.cwd, | ||
}; | ||
} |
@@ -84,3 +84,3 @@ "use strict"; | ||
} | ||
return { pkgReadyToPublish: [], response: "No changes." }; | ||
return { pkgReadyToPublish: [], config, response: "No changes." }; | ||
} | ||
@@ -87,0 +87,0 @@ else { |
{ | ||
"name": "covector", | ||
"version": "0.12.1", | ||
"version": "0.12.2", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/jbolda/covector#readme", |
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
90124
1478