Skip to content

Commit 0b78a48

Browse files
committed
Add some more newlines
1 parent bc00e41 commit 0b78a48

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

cli/src/cli.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const UPLOAD_URL =
1010
process.env.UPLOAD_URL || 'https://us-central1-sourcegraph-dev.cloudfunctions.net/submit-coding-exercise'
1111

1212
async function main(): Promise<void> {
13+
console.log('Ready to upload 🚀')
1314
const { fullName } = await prompt<{ fullName: string }>([
1415
{ type: 'input', message: 'Please enter your full name:', name: 'fullName' },
1516
])
@@ -34,14 +35,16 @@ async function main(): Promise<void> {
3435
const url = new URL(UPLOAD_URL)
3536
url.searchParams.set('fullName', fullName)
3637

38+
console.log('')
3739
const spinner = ora('Uploading').start()
3840

3941
try {
4042
const response = await got.post<{ sandboxUrl: string }>(url.href, { body: tarStream, responseType: 'json' })
4143
spinner.succeed('Success')
4244
console.log(
43-
'Please send an email to us containing the following URL:\n' +
44-
chalk.bold.underline(response.body.sandboxUrl)
45+
'\nPlease send an email to us containing the following URL:\n' +
46+
chalk.bold.underline(response.body.sandboxUrl) +
47+
'\n'
4548
)
4649
} catch (error) {
4750
spinner.fail('Something went wrong')

0 commit comments

Comments
 (0)