zarro 1.170.18 → 1.170.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -815,13 +815,16 @@ WARNING: 'dotnet pack' ignores --version-suffix when a nuspec file is provided.
|
|
|
815
815
|
if (!`${opts.id}`.trim()) {
|
|
816
816
|
throw new Error(`package id not specified`);
|
|
817
817
|
}
|
|
818
|
-
const args = ["add", "package", opts.
|
|
818
|
+
const args = ["add", opts.projectFile, "package", opts.id];
|
|
819
819
|
pushIfSet(args, opts.version, "--version");
|
|
820
820
|
pushIfSet(args, opts.framework, "--framework");
|
|
821
821
|
pushFlag(args, opts.noRestore, "--no-restore");
|
|
822
822
|
pushIfSet(args, opts.source, "--source");
|
|
823
823
|
pushIfSet(args, opts.packageDirectory, "--package-directory");
|
|
824
824
|
pushFlag(args, opts.preRelease, "--prerelease");
|
|
825
|
+
if (opts.suppressOutput === undefined) {
|
|
826
|
+
opts.suppressOutput = true;
|
|
827
|
+
}
|
|
825
828
|
await runDotNetWith(args, opts);
|
|
826
829
|
}
|
|
827
830
|
module.exports = {
|