Skip to content

Commit

Permalink
bin
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Aug 11, 2024
1 parent a7d1505 commit b0a37d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/shared/options/readOptions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ vi.mock("./createOptionDefaults/index.js", () => ({
createOptionDefaults() {
return {
author: vi.fn(),
bin: vi.fn(),
description: vi.fn(),
email: vi.fn(),
funding: vi.fn(),
Expand Down
1 change: 1 addition & 0 deletions src/shared/options/readOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ export async function readOptions(
...options,
access: options.access ?? "public",
author: options.author ?? (await defaults.owner()),
bin: options.bin ?? (await defaults.bin()),
description: options.description,
directory:
options.directory ?? promptedOptions.directory ?? options.repository,
Expand Down

0 comments on commit b0a37d2

Please sign in to comment.