Skip to content

Commit 248b7b0

Browse files
updated layout for ai rewriter
1 parent c9b6c98 commit 248b7b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

proto/build-proto.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@ import * as path from "path"
55
import { execSync } from "child_process"
66
import { globby } from "globby"
77
import chalk from "chalk"
8-
import { fileURLToPath } from 'url';
8+
import { fileURLToPath } from "url"
99

1010
import { createRequire } from "module"
1111
const require = createRequire(import.meta.url)
1212

1313
// Get script directory and root directory
14-
const SCRIPT_DIR = path.dirname(fileURLToPath(import.meta.url));
14+
const SCRIPT_DIR = path.dirname(fileURLToPath(import.meta.url))
1515
const ROOT_DIR = path.resolve(SCRIPT_DIR, "..")
1616

1717
const protoc = path.join(require.resolve("grpc-tools"), "../bin/protoc")
1818
let tsProtoPlugin = path.resolve(ROOT_DIR, "node_modules", ".bin", "protoc-gen-ts_proto")
1919

2020
if (process.platform === "win32") {
21-
tsProtoPlugin += ".cmd";
21+
tsProtoPlugin += ".cmd"
2222
}
2323

2424
async function main() {

0 commit comments

Comments
 (0)