Warn user about sensitive credentials

This commit is contained in:
Johan Haals
2021-01-15 17:21:12 +01:00
parent b604a9d411
commit 7d2a390a4f
2 changed files with 6 additions and 4 deletions
@@ -30,5 +30,10 @@ export default async (org: string) => {
const content = `# Name: ${name}\n${stringifyYaml(config)}`;
await fs.writeFile(paths.resolveTargetRoot(fileName), content);
console.log(`GitHub App configuration written to ${chalk.cyan(fileName)}`);
console.log(
chalk.yellow(
'This file contains sensitive credentials, it should not be committed to version control and handled with care!',
),
);
// TODO: log instructions on how to use the newly created app configuration.
};