Skip to content

Replace inexistent rmSync with removeSync on builds#156

Merged
Mortaro merged 1 commit intonullstack:gui-scriptsfrom
GuiDevloper:fix-clean-builds
Jan 22, 2022
Merged

Replace inexistent rmSync with removeSync on builds#156
Mortaro merged 1 commit intonullstack:gui-scriptsfrom
GuiDevloper:fix-clean-builds

Conversation

@GuiDevloper
Copy link
Copy Markdown
Member

For some curious reason, fs-extra includes fs types but not all it's functions.
rmSync is an example, they only use it internally on removeSync with fixed options (recursive & force).

Without this change, the alternative builds (ssg & spa) breaks when trying to rmSync an old build.

btw, it allows Netlify CI to finally build/rebuild a project like our docs:
https://app.netlify.com/sites/nullstack-docs/deploys

@Mortaro Mortaro changed the base branch from next to gui-scripts January 22, 2022 23:10
@Mortaro Mortaro merged commit d49b454 into nullstack:gui-scripts Jan 22, 2022
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.

2 participants