Skip to content

Commit 555bb51

Browse files
renovate[bot]kodiakhq[bot]sarahetter
authored
chore(deps): update dependency prettier to v2.8.8 (#7463)
* chore(deps): update dependency prettier to v2.8.8 * chore: run prettier --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: Sarah Etter <[email protected]>
1 parent 2212332 commit 555bb51

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
"npm-run-all2": "7.0.2",
204204
"p-timeout": "6.1.4",
205205
"picomatch": "4.0.3",
206-
"prettier": "2.6.2",
206+
"prettier": "2.8.8",
207207
"serialize-javascript": "6.0.2",
208208
"strip-ansi": "7.1.0",
209209
"temp-dir": "3.0.0",

src/commands/deploy/deploy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ export const deploy = async (options: DeployOptionValues, command: BaseCommand)
837837

838838
const initializeOpts = [EXISTING_SITE, NEW_SITE] as const
839839

840-
const { initChoice } = await inquirer.prompt<{ initChoice: typeof initializeOpts[number] }>([
840+
const { initChoice } = await inquirer.prompt<{ initChoice: (typeof initializeOpts)[number] }>([
841841
{
842842
type: 'list',
843843
name: 'initChoice',

src/commands/init/init.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ const createOrLinkSiteToRepo = async (command: BaseCommand) => {
180180
const initializeOpts = [EXISTING_SITE, NEW_SITE] as const
181181

182182
// TODO(serhalp): inquirer should infer the choice type here, but doesn't. Fix.
183-
const { initChoice } = await inquirer.prompt<{ initChoice: typeof initializeOpts[number] }>([
183+
const { initChoice } = await inquirer.prompt<{ initChoice: (typeof initializeOpts)[number] }>([
184184
{
185185
type: 'list',
186186
name: 'initChoice',

src/utils/gh-auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const promptForAuthMethod = async () => {
2323
const authChoiceToken = 'Authorize with a GitHub personal access token'
2424
const authChoices = [authChoiceNetlify, authChoiceToken] as const
2525

26-
const { authMethod } = await inquirer.prompt<{ authMethod: typeof authChoices[number] }>([
26+
const { authMethod } = await inquirer.prompt<{ authMethod: (typeof authChoices)[number] }>([
2727
{
2828
type: 'list',
2929
name: 'authMethod',

0 commit comments

Comments
 (0)