代码是这样的:
fs.writeFileSync(path.join(process.cwd(), options.dir || '', 'LICENSE'), data, 'utf-8');
输出错误:
Error: EISDIR: illegal operation on a directory
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
小伙看你根骨奇佳,潜力无限,来学PHP伐。