mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
build: enhance fix deps output
This commit is contained in:
parent
6fe3135ae8
commit
bbf830f695
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ exports.fixDep = async function fixDep(targetFilePath, pairs) {
|
|||
const filePath = path.resolve(nodeModulesPath, targetFilePath)
|
||||
const source = await fs.readFile(filePath, 'utf-8')
|
||||
if (source.includes(MODIFIED_MARK)) {
|
||||
console.log(`${filePath} has been fixed, skipping.`)
|
||||
console.log(`${filePath.replace(process.cwd(), '.')} has been fixed, skipping.`)
|
||||
return
|
||||
}
|
||||
console.log(`Fixing ${targetFilePath}`)
|
||||
|
|
|
|||
Loading…
Reference in a new issue