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 console server-build script #2790

Merged
merged 4 commits into from
Sep 24, 2019

Conversation

lexi-lambda
Copy link
Contributor

Description

This is a tiny quick fix for the npm run server-build script: previously, the rm static/dist/versioned/*.gz step would fail on 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 leaving behind any lingering stale files.

Affected components

  • Console

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.
@lexi-lambda lexi-lambda requested a review from rikinsk as a code owner August 28, 2019 12:44
@netlify
Copy link

netlify bot commented Aug 28, 2019

Deploy preview for hasura-docs ready!

Built with commit c06ae4a

https://deploy-preview-2790--hasura-docs.netlify.com

@lexi-lambda
Copy link
Contributor Author

Oh, cool. Do you want to incorporate that into this repository yourself, then?

@hasura-bot
Copy link
Contributor

Review app for commit dd8c403 deployed to Heroku: https://hge-ci-pull-2790.herokuapp.com
Docker image for server: hasura/graphql-engine:pull2790-dd8c4039

rikinsk
rikinsk previously approved these changes Sep 24, 2019
@shahidhk
Copy link
Member

I am adding a better version of this script in a while.

@shahidhk shahidhk changed the title console: Fix server-build script on first run fix console server-build script Sep 24, 2019
@rikinsk rikinsk merged commit eb0c1f6 into hasura:master Sep 24, 2019
@hasura-bot
Copy link
Contributor

Review app https://hge-ci-pull-2790.herokuapp.com is deleted

@lexi-lambda lexi-lambda deleted the fix-console-build-script branch September 26, 2019 04:36
rikinsk added a commit to rikinsk/graphql-engine that referenced this pull request Sep 26, 2019
polRk pushed a commit to polRk/graphql-engine that referenced this pull request Feb 12, 2020
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.

4 participants