Skip to content

Commit

Permalink
fix: use not ddu#util#print_error but ddc's one
Browse files Browse the repository at this point in the history
  • Loading branch information
Warashi committed Jul 25, 2023
1 parent 8b50d63 commit d0982b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions denops/@ddc-sources/zsh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@ export class Source extends BaseSource<Params> {
});
} catch (e) {
await args.denops.call(
"ddu#util#print_error",
"ddc#util#print_error",
`Run ${cmd} is failed.`,
);

if (e instanceof Error) {
await args.denops.call(
"ddu#util#print_error",
"ddc#util#print_error",
e.message,
);
}
Expand Down

0 comments on commit d0982b9

Please sign in to comment.