Skip to content

Commit 9e2e4f5

Browse files
feat: hide skip-api prompt by default (#271)
<!-- 👋 Hi, thanks for sending a PR to template-typescript-node-package! 💖. Please fill out all fields below and make sure each item is true and [x] checked. Otherwise we may not be able to review your PR. --> ## PR Checklist - [x] Addresses an existing open issue: fixes #184 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/template-typescript-node-package/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/template-typescript-node-package/blob/main/.github/CONTRIBUTING.md) were taken ## Overview <!-- Description of what is changed and how the code change does that. --> Hide the prompt to whether or not calling the github api by setting the value of `skip-api` to true by default. --------- Co-authored-by: Josh Goldberg <[email protected]>
1 parent c122ea1 commit 9e2e4f5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

script/setup.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,7 @@ try {
111111
"A very lovely package. Hooray!"
112112
);
113113

114-
const skipApi = await getPrefillOrPromptedValue(
115-
"skip-api",
116-
"Whether to skip calling the GitHub API (effectively making this a local-only change)."
117-
);
114+
const skipApi = values["skip-api"];
118115

119116
console.log();
120117
console.log(chalk.gray`Hydrating package metadata locally...`);

0 commit comments

Comments
 (0)