Skip to content

Commit

Permalink
fix(deploy): Remove ErrorInit reference
Browse files Browse the repository at this point in the history
This interface was apparently removed
sometime between Deno 1.19 and 1.20
  • Loading branch information
danopia committed Mar 22, 2022
1 parent 8bcdb76 commit a383db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generation/deploy/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class ClientError extends Error {
constructor(
public readonly statusCode: number,
public readonly statusText: string,
init?: ErrorInit,
init?: { cause?: any; },
) {
super(`HTTP ${statusCode}: ${statusText}`, init);
Error.captureStackTrace(this, new.target);
Expand Down

0 comments on commit a383db0

Please sign in to comment.