Skip to content

Commit b39daeb

Browse files
committed
Run pnpm fix
Signed-off-by: moznion <moznion@mail.moznion.net>
1 parent dae105e commit b39daeb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ program
3333
const options = program.opts();
3434

3535
try {
36-
const start = new Date().getTime() / 1000.0;
36+
const start = Date.now() / 1000.0;
3737

3838
const inputPath = path.resolve(options["input"]);
3939
const outputPath = path.resolve(options["output"]);
@@ -48,7 +48,7 @@ try {
4848

4949
fs.writeFileSync(outputPath, clientCode);
5050

51-
const end = new Date().getTime() / 1000.0;
51+
const end = Date.now() / 1000.0;
5252

5353
console.log(
5454
`🏁 Successfully generated client at [${(end - start).toFixed(2)}ms]: ${outputPath}`,

0 commit comments

Comments
 (0)