Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Jul 8, 2024
1 parent d769d93 commit 2bbd131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { writeFileSync, readFileSync, readdirSync, statSync, copyFileSync } from 'node:fs'
import path from 'node:path'

const cwd = process.cwd() + '/';
const cwd = process.cwd() + path.sep;

const pkg = JSON.parse(readFileSync(path.join(cwd, 'package.json'), 'utf-8'));
// make sure commonjs *.d.ts can import types
Expand Down

0 comments on commit 2bbd131

Please sign in to comment.