Skip to content

Commit

Permalink
make codecov happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Lily Kuang committed Jun 18, 2022
1 parent 78bd39e commit 88a6dfa
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,7 @@ export default class SupersetClientClass {
}

async postForm(url: string, payload: Record<string, any>, target = '_blank') {
if (url === '') {
return;
}
if (!url) return;
await this.ensureAuth();
const hiddenForm = document.createElement('form');
hiddenForm.action = url;
Expand Down

0 comments on commit 88a6dfa

Please sign in to comment.