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: Make update-notifier fail-safe if no permission to read configStore #5426

Merged
merged 1 commit into from
Aug 26, 2021

Conversation

slorber
Copy link
Collaborator

@slorber slorber commented Aug 26, 2021

Motivation

When permission to read configStore is not granted (usage of Bazel?), the cli fails due to update-notifier.

Fix #5400

Have you read the Contributing Guidelines on pull requests?

yes

Test Plan

chmod 000 /Users/sebastienlorber/.config/configstore/update-notifier-@docusaurus
yarn start:website

=> failed before, and now works

@slorber slorber added the pr: bug fix This PR fixes a bug in a past release. label Aug 26, 2021
@slorber slorber requested a review from lex111 as a code owner August 26, 2021 14:32
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Aug 26, 2021
@netlify
Copy link

netlify bot commented Aug 26, 2021

✔️ [V2]

🔨 Explore the source changes: 21bcd56

🔍 Inspect the deploy log: https://app.netlify.com/sites/docusaurus-2/deploys/6127a60d7e934600081bb087

😎 Browse the preview: https://deploy-preview-5426--docusaurus-2.netlify.app

@github-actions
Copy link

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟢 Performance 98
🟢 Accessibility 98
🟢 Best practices 100
🟢 SEO 100
🟢 PWA 95

Lighthouse ran on https://deploy-preview-5426--docusaurus-2.netlify.app/

@github-actions
Copy link

Size Change: -1 B (0%)

Total Size: 814 kB

ℹ️ View Unchanged
Filename Size Change
website/.docusaurus/globalData.json 36.2 kB 0 B
website/build/assets/css/styles.********.css 94.9 kB 0 B
website/build/assets/js/main.********.js 410 kB 0 B
website/build/blog/2017/12/14/introducing-docusaurus/index.html 66 kB 0 B
website/build/blog/index.html 36.9 kB 0 B
website/build/docs/index.html 43.1 kB 0 B
website/build/docs/installation/index.html 50.7 kB -1 B (0%)
website/build/index.html 29.8 kB 0 B
website/build/tests/docs/index.html 24.1 kB 0 B
website/build/tests/docs/standalone/index.html 21.9 kB 0 B

compressed-size-action

@slorber slorber merged commit 20fc4f6 into main Aug 26, 2021
@slorber slorber deleted the slorber/fix-update-notifier-no-config branch August 26, 2021 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: bug fix This PR fixes a bug in a past release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

If update-notifier fails, then the cli fails
2 participants