Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hiro5id committed May 15, 2021
1 parent a85a145 commit 5ee3f64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error-with-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export class ErrorWithContext extends Error {
error.message += ` - ${extraContext}`;
} else {
if (error == null) {
error = (extraContext as any) as string;
error = extraContext as any as string;
} else {
error += ` - ${extraContext}`;
}
Expand Down

0 comments on commit 5ee3f64

Please sign in to comment.