diff --git a/src/commands/sites/sites-create-template.ts b/src/commands/sites/sites-create-template.ts index c4eb5e80b0e..aad249cb708 100644 --- a/src/commands/sites/sites-create-template.ts +++ b/src/commands/sites/sites-create-template.ts @@ -118,7 +118,7 @@ export const sitesCreateTemplate = async (repository: string, options: OptionVal error( `Could not create repository: ${ (error_ as GitHubAPIError).message - }. Ensure that your PAT grants permission to create repositories`, + }. Ensure that your GitHub personal access token grants permission to create repositories`, ) } else { error( diff --git a/src/utils/gh-auth.ts b/src/utils/gh-auth.ts index 2e6bce40f5b..1739b91e6b9 100644 --- a/src/utils/gh-auth.ts +++ b/src/utils/gh-auth.ts @@ -90,7 +90,7 @@ export const authWithNetlify = async () => { const getPersonalAccessToken = async () => { const { token } = await inquirer.prompt([ { - type: 'input', + type: 'password', name: 'token', message: 'Your GitHub personal access token:', filter: (input) => input.trim(),