Skip to content

Commit 5cd557e

Browse files
author
chengyu.chengyulia
committed
feat: support no includeAll
1 parent 1549fa8 commit 5cd557e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pri",
3-
"version": "4.3.7",
3+
"version": "4.3.8",
44
"types": "src/node/index.ts",
55
"main": "built/node/index.js",
66
"scripts": {

src/built-in-plugins/command-publish/plugin/run-publish.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ export const publish = async (options: PublishOption) => {
4949
if (depMonoPackages.length > 0) {
5050
let includeAllPrompt = { includeAll: false };
5151

52-
if (options.includeAll) {
53-
includeAllPrompt = { includeAll: true };
52+
if (_.has(options, 'includeAll')) {
53+
includeAllPrompt = { includeAll: options.includeAll };
5454
} else {
5555
includeAllPrompt = await inquirer.prompt([
5656
{

0 commit comments

Comments
 (0)