Skip to content

Commit 4c01f83

Browse files
committed
Fix issue
1 parent 7fa7651 commit 4c01f83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ async function run(): Promise<void> {
2525
)
2626

2727
const status = response.status
28+
core.info(`status code ${status}`)
2829
if (status === 200) {
2930
core.info('Deployed the code successfully')
30-
}
31-
if (status === 401) {
31+
} else if (status === 401) {
3232
core.info(
3333
'Authentication error, please check your databricks token!'
3434
)

0 commit comments

Comments
 (0)