Skip to content

Commit 5132980

Browse files
committed
fix: remove console.log
1 parent b259a48 commit 5132980

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/config/config-schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export const ConfigSchema = DataType.RecordOf({
102102
beforeBuild: OptionalField(
103103
DataType.Custom((v): v is (buildDir: string) => any => {
104104
return typeof v === "function";
105-
}).setExtra({typeDef: "(buildDir: string) => any"})
105+
}).setExtra({ typeDef: "(buildDir: string) => any" }),
106106
),
107107
});
108108

src/polyfills/xml-http-request.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,6 @@ registerPolyfills("XMLHttpRequest")(() => {
562562

563563
this._finishRequest(response.statusCode);
564564
} catch (e) {
565-
console.error(e);
566565
this._eventController.emit(
567566
RequestEvents.ERROR,
568567
new ProgressEvent(RequestEvents.ERROR, this),

src/programs/init-program.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { CommandInitPhase, defineOption } from "clify.js";
33
import fsbase from "fs";
44
import fs from "fs/promises";
55
import path from "path";
6-
import { Output, html } from "termx-markup";
6+
import { html, Output } from "termx-markup";
77
import { getJsProjectConfigFile } from "../init-project/config-file-js";
88
import { getTsProjectConfigFile } from "../init-project/config-file-ts";
99
import { getJsEntryFile } from "../init-project/entry-file-js";

0 commit comments

Comments
 (0)