Skip to content

Commit

Permalink
fix: don't log API Key (#516)
Browse files Browse the repository at this point in the history
The API key is logged as part of normal operation, which is not a good idea.
  • Loading branch information
Ben Iofel authored Jun 15, 2022
1 parent 49b0c70 commit 556834c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmds/openapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ module.exports = class OpenAPICommand {
`To update your ${specType} definition, run the following:`,
'',
// eslint-disable-next-line no-underscore-dangle
`\t${chalk.green(`rdme openapi ${specPath} --key=${key} --id=${body._id}`)}`,
`\t${chalk.green(`rdme openapi ${specPath} --key=<key> --id=${body._id}`)}`,
].join('\n')
);
}
Expand Down

0 comments on commit 556834c

Please sign in to comment.