Keenwon

Results 3 issues of Keenwon

female.js 中,使用`fs.readFileSync`读取种子文件,对于特别的大的种子,可能会造成内存泄露,切换为`fs.createReadStream`

feature

prettier 路径问题排查:create-static 脚手架 可能是 prettier 使用了相对路径??? ![image](https://user-images.githubusercontent.com/5516478/138229819-1b6b7736-d335-4973-a03d-617da3d13164.png)

- node: v8.9.0 - npm: v5.5.1 - os: windows 7 - nvm: 1.1.7 ```js const { getInstalledPathSync } = require('get-installed-path') console.log(getInstalledPathSync('npm')) ``` ```shell C:\Users\keenwon\Desktop\yyyyy\node_modules\get-installed-path\dist\index.js:164 throw new Error(msg); ^ Error: get-installed-path:...

bug