Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 8, 2024
1 parent 53a8d48 commit 7724340
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ export class GuidedInspectorPage extends Page {
{ title }
).catch((error) => {
this.notify(error.message, "error");
return null
return null;
});
if (!result) return 'Failed to generate inspector report.'
if (!result) return "Failed to generate inspector report.";
this.report = globalState.preview.inspector = {
...result,
Expand Down Expand Up @@ -165,11 +165,10 @@ export class GuidedInspectorPage extends Page {
).catch((error) => {
this.notify(error.message, "error");
closeProgressPopup();
return null
return null;
});
if (!result) return 'Failed to generate inspector report.'
if (!result) return "Failed to generate inspector report.";
closeProgressPopup();
Expand Down

0 comments on commit 7724340

Please sign in to comment.