We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c183d20 + 31c919e commit dbf56c0Copy full SHA for dbf56c0
examples/with-backstage/create-gh-app/index.js
@@ -91,6 +91,8 @@ const writeConfigFile = async (data, webhookUrl) => {
91
}, null, 2)
92
93
await fs.writeFile(fileName, content);
94
+
95
+ console.log(`Created ${fileName}, you can close the server now.`)
96
}
97
98
const handleCallback = async (req, res) => {
@@ -109,8 +111,6 @@ const handleCallback = async (req, res) => {
109
111
110
112
await writeConfigFile(data, webhookUrl);
113
- console.log(`Created ${fileName}, you can close the server now.`)
-
114
res.writeHead(302, { Location: `${data.html_url}/installations/new` });
115
res.end();
116
0 commit comments