Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Aug 11, 2023
1 parent 700e7a9 commit c98e202
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions denops/ddu/ddu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ export class Ddu {
});
}

const flags = typeof (ret) === "number" ? ret : ActionFlags.None;
const flags = typeof ret === "number" ? ret : ActionFlags.None;

if (flags & ActionFlags.RefreshItems) {
await this.refresh(denops);
Expand Down Expand Up @@ -1071,10 +1071,10 @@ export class Ddu {

let flags = ActionFlags.None;
let searchPath: TreePath = "";
if (typeof (ret) === "object") {
if (typeof ret === "object") {
flags = ret.flags;
searchPath = ret.searchPath;
} else if (typeof (ret) === "number") {
} else if (typeof ret === "number") {
flags = ret;
}

Expand Down

0 comments on commit c98e202

Please sign in to comment.