summaryrefslogtreecommitdiff
path: root/cli/js/runtime_worker.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2020-07-14 15:24:17 -0400
committerGitHub <noreply@github.com>2020-07-14 15:24:17 -0400
commitcde4dbb35132848ffece59ef9cfaccff32347124 (patch)
treecc7830968c6decde704c8cfb83c9185193dc698f /cli/js/runtime_worker.ts
parent9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff)
Use dprint for internal formatting (#6682)
Diffstat (limited to 'cli/js/runtime_worker.ts')
-rw-r--r--cli/js/runtime_worker.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/js/runtime_worker.ts b/cli/js/runtime_worker.ts
index 3f7816990..9904ab012 100644
--- a/cli/js/runtime_worker.ts
+++ b/cli/js/runtime_worker.ts
@@ -93,7 +93,7 @@ export async function workerMessageRecvCallback(data: string): Promise<void> {
e.fileName,
e.lineNumber,
e.columnNumber,
- e
+ e,
);
handled = ret === true;
}
@@ -122,7 +122,7 @@ export const workerRuntimeGlobalProperties = {
export function bootstrapWorkerRuntime(
name: string,
useDenoNamespace: boolean,
- internalName?: string
+ internalName?: string,
): void {
if (hasBootstrapped) {
throw new Error("Worker runtime already bootstrapped");
@@ -139,7 +139,7 @@ export function bootstrapWorkerRuntime(
Object.defineProperties(globalThis, { name: readOnly(name) });
setEventTargetData(globalThis);
const { unstableFlag, pid, noColor, args } = runtime.start(
- internalName ?? name
+ internalName ?? name,
);
if (unstableFlag) {