Skip to content

Commit

Permalink
comment out javy
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleconroy committed Dec 1, 2023
1 parent 37b4ec8 commit 8615c1f
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/drivers/mysql2.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { SyntaxKind, NodeFlags, TypeNode, factory } from "typescript";

// @ts-expect-error
import { writeFileSync, STDIO } from "javy/fs";
// import { writeFileSync, STDIO } from "javy/fs";

import { Parameter, Column } from "../gen/plugin/codegen_pb";
import { argName, colName } from "./utlis";
Expand Down Expand Up @@ -151,11 +150,11 @@ export function columnType(column?: Column): TypeNode {
typ = factory.createKeywordTypeNode(SyntaxKind.NumberKeyword);
break;
}
default: {
const output = new TextEncoder().encode(column.type.name + "\n");
const buffer = new Uint8Array(output);
writeFileSync(STDIO.Stderr, buffer);
}
// default: {
// const output = new TextEncoder().encode(column.type.name + "\n");
// const buffer = new Uint8Array(output);
// writeFileSync(STDIO.Stderr, buffer);
// }
}
if (column.notNull) {
return typ;
Expand Down

0 comments on commit 8615c1f

Please sign in to comment.