Skip to content

Commit

Permalink
Appease ESLint
Browse files Browse the repository at this point in the history
  • Loading branch information
elyscape committed Sep 16, 2022
1 parent f4804a4 commit c61dce1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/lib/Advertiser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,13 @@ export class ResolvedAdvertiser extends EventEmitter implements Advertiser {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
private static resolvedInvoke(bus: MessageBus, member: string, others?: any): Promise<any> {
return new Promise((resolve, reject) => {
const command = { destination: "org.freedesktop.resolve1", path: "/org/freedesktop/resolve1", interface: "org.freedesktop.resolve1.Manager", member, ...(others || {}) };
const command = {
destination: "org.freedesktop.resolve1",
path: "/org/freedesktop/resolve1",
interface: "org.freedesktop.resolve1.Manager",
member,
...(others || {}),
};
// eslint-disable-next-line @typescript-eslint/no-explicit-any
bus.invoke(command, (err: any, result: any) => {
if (err) {
Expand Down

0 comments on commit c61dce1

Please sign in to comment.