0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 09:31:22 -05:00

Refactor code to be same style

This commit is contained in:
liuyi 2018-09-02 01:52:48 +08:00 committed by Ryan Dahl
parent b3dac82887
commit 2eb80f3617

View file

@ -165,7 +165,7 @@ function CallSiteToString(frame: CallSite): string {
line += `${typeName}.${methodName || "<anonymous>"}`;
}
} else if (isConstructor) {
line += "new " + (functionName || "<anonymous>");
line += `new ${functionName || "<anonymous>"}`;
} else if (functionName) {
line += functionName;
} else {