style: deno fmt

This commit is contained in:
ITOH
2022-05-24 22:01:44 +02:00
parent 9610403b26
commit 3a5263c4e9
2 changed files with 4 additions and 5 deletions
+3 -4
View File
@@ -1,7 +1,6 @@
import { RestRequestRejection } from "./rest.ts";
export function convertRestError(errorStack: Error, data: RestRequestRejection): Error {
errorStack.message = `[${data.status}] ${data.error}`;
return errorStack;
}
errorStack.message = `[${data.status}] ${data.error}`;
return errorStack;
}
+1 -1
View File
@@ -9,7 +9,7 @@ import { processRequestHeaders } from "./processRequestHeaders.ts";
import { runMethod } from "./runMethod.ts";
import { runProxyMethod } from "./runProxyMethod.ts";
import { simplifyUrl } from "./simplifyUrl.ts";
import { convertRestError } from "./convertRestError.ts"
import { convertRestError } from "./convertRestError.ts";
export const rest = {
/** The bot token for this rest client. */