Skip to content

Commit

Permalink
remove logging we dont need (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
andysteadbbc authored Oct 25, 2024
1 parent 9873289 commit 401f2c4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/generate-transform-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@ const generateTransformInput = (dir) => {
if (dirent.isSymbolicLink) {
if (fs.existsSync(fullPath)) { // fs.exists() is deprecated, but fs.existsSync() is not.
const stats = fs.statSync(fullPath)
console.log('Good symlink', fullPath)
console.log('Good symlink')
if (stats.isFile()) {
// get file details
list.push(makeInputObject(fullPath, dir)) // symlinks become copies
} else {
console.log('directory... continue')
// recursive call to get all files in the symlinked directory
const newlist = generateTransformInput(fullPath)
list = list.concat(newlist)
Expand All @@ -42,7 +41,6 @@ const generateTransformInput = (dir) => {
continue
}
}
console.log(list)
return list
}

Expand Down

0 comments on commit 401f2c4

Please sign in to comment.