Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`deleteOrphaned` Option Doesn't Delete Hidden Files

See original GitHub issue

🐞 Describe the bug

With deleteOrphaned enabled, files beginning with . are not deleted from the synced directory.

📚 To Reproduce

Create the following folder structure:

Sync Repository


Target Repository


Sync the entire docker/ folder with deleteOrphaned set to true.

💡 Expected behavior

deleteOrphaned should delete every file within the target repo which isn’t also in the sync repo. In the example above, .env is missed.

🖼️ Screenshots

If applicable, add screenshots to help explain your problem.

⚙️ Environment

  • Action version: latest

📋 Additional context


Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

Casey-Kiewitcommented, Jan 25, 2022

I concur. From a user of this action’s perspective, the ignoring of hidden files was rather unexpected. My vote would be to have hidden files included by default unless someone has a use-case where this behavior wouldn’t be desirable.

BetaHuhnBotcommented, Feb 8, 2022

🎉 This issue has been resolved in version 1.17.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

Folder Contains Hidden Files You May Not Delete
For an orphaned file, try adding a text file to the folder that cannot be deleted. This should trigger a orphan record cleanup...
Read more >
Waring “Folder Contains Hidden Files You May Not Delete”
Understanding the waring “folder contains hidden files you may not delete” when destroying Files in PDM Vault. Sometimes, “orphaned” document ...
Read more >
is there a way to delete orphaned files? - Microsoft Community
Orphaned files are kept in a bunch of numbered folders located in the root of the drive you checked. You can delete them...
Read more >
Remove orphaned app folders from iCloud Drive
The file is gone in the finder iCloud drive window on OSX10.10.2. So is it a hidden file which must be hidden but...
Read more >
How to Uncover and Delete Hidden Files Cluttering Your Mac ...
Still, there are more insidious files cluttering your Mac; these can be hidden in folders you may not see, or, sometimes, in plain...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found