Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow .dot files/directories to be properly copied back after caching #396

Open
IgnusG opened this issue Dec 16, 2021 · 0 comments
Open

Comments

@IgnusG
Copy link

IgnusG commented Dec 16, 2021

The cache is properly created for hidden (.dot) files and directories but these are not copied back after a cache hit since globby's default is to not include them:

const files = await globby(`**/*`, {
cwd: localCacheFolder,
});

These lines should either be:

    const files = await globby(`**/*`, {
      cwd: localCacheFolder,
      dot: true,
    });

Or they should be made configurable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant