-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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 console server-build script #2790
Conversation
Previously, the `rm static/dist/versioned/*.gz` step would fail on the first run, since the glob would match no files, and `rm` would complain. This approach just deletes the whole directory, which is probably better, anyway, since it avoids any lingering outdated files.
Deploy preview for hasura-docs ready! Built with commit c06ae4a |
Oh, cool. Do you want to incorporate that into this repository yourself, then? |
Review app for commit dd8c403 deployed to Heroku: https://hge-ci-pull-2790.herokuapp.com |
I am adding a better version of this script in a while. |
Review app https://hge-ci-pull-2790.herokuapp.com is deleted |
This reverts commit eb0c1f6.
Description
This is a tiny quick fix for the
npm run server-build
script: previously, therm static/dist/versioned/*.gz
step would fail on first run, since the glob would match no files, andrm
would complain. This approach just deletes the whole directory, which is probably better, anyway, since it avoids leaving behind any lingering stale files.Affected components