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

Fix copying excluded files #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix copying excluded files #45

wants to merge 1 commit into from

Conversation

caitp
Copy link

@caitp caitp commented Nov 14, 2019

xfs.save() is an alias for xfs.writeFile() (async) but a callback method isn't provided. Explicitly calling writeFileSync instead prevents attempting to invoke an undefined callback.

In order to get the synchronous save method, we need to load the sync method from xfs.sync().

`xfs.save()` is an alias for `xfs.writeFile()` (async) but a callback method isn't specified. Explicitly calling writeFileSync instead prevents attempting to invoke an undefined callback.

In order to get the synchronous save method, we need to load the sync method from `xfs.sync()`.
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

Successfully merging this pull request may close these issues.

1 participant