mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 14:10:37 -07:00
Fix line endings issue with Notice file (#17417)
This commit is contained in:
committed by
GitHub
parent
daccf4d6d1
commit
00b5b2045f
@@ -72,6 +72,7 @@ async function getDependencyLicense(depName, depVersion) {
|
||||
if (licenseFile) {
|
||||
try {
|
||||
licenseContent = await fs.readFile(licenseFile, 'utf-8');
|
||||
licenseContent = licenseContent.replace(/\r\n/g, '\n');
|
||||
} catch (e) {
|
||||
console.warn(
|
||||
`Warning: Failed to read license file for ${depName}: ${e.message}`,
|
||||
|
||||
Reference in New Issue
Block a user