Skip to content

Commit

Permalink
Only check auth on initial
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen Rumney committed Jul 9, 2024
1 parent 6e136d4 commit d628df2
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ internal class InfracostDownloadBinaryTask(private val project: Project, val ini
}
}

SwingUtilities.invokeLater {
CheckAuthAction.checkAuth(project)
if (initial) {
SwingUtilities.invokeLater {
CheckAuthAction.checkAuth(project)
}
}

}
Expand Down

0 comments on commit d628df2

Please sign in to comment.