We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d682c52 commit 4ca14f8Copy full SHA for 4ca14f8
extensions/ql-vscode/src/common/errors.ts
@@ -1,5 +1,3 @@
1
-import * as os from "os";
2
-
3
export class RedactableError extends Error {
4
constructor(
5
cause: ErrorLike | undefined,
@@ -29,7 +27,7 @@ export class RedactableError extends Error {
29
27
return this.fullMessage;
30
28
}
31
32
- return `${this.fullMessage}${os.EOL}${this.stack}`;
+ return `${this.fullMessage}\n${this.stack}`;
33
34
35
public get redactedMessage(): string {
0 commit comments