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 project root normalisation #1393

Merged

Conversation

imjoehaines
Copy link
Contributor

Goal

The renderer config is cached when the plugin is loaded, so the path needs to be normalised before then to take effect

The renderer config is cached when the plugin is loaded, so this
needs to be normalised first to take effect
@imjoehaines imjoehaines requested a review from kattrali May 7, 2021 08:38
@github-actions
Copy link

github-actions bot commented May 7, 2021

@bugsnag/browser bundle size diff

Minified Minfied + Gzipped
Before 40.87 kB 12.62 kB
After 40.87 kB 12.62 kB
± No change No change

code coverage diff

Ok File Lines Branches Functions Statements
/home/runner/work/bugsnag-js/bugsnag-js/packages/electron/src/config/main.js 41.67%
(+2.54%)
20%
(+0%)
7.14%
(+0%)
40%
(+2.5%)

Total:

Lines Branches Functions Statements
82.52%(+0.01%) 72.19%(+0%) 83.56%(+0%) 81.51%(+0%)

Generated by 🚫 dangerJS against 59f078d

@imjoehaines imjoehaines merged commit 4d69748 into kattrali/add-electron-support May 7, 2021
@imjoehaines imjoehaines deleted the fix-project-root-normalise branch May 7, 2021 10:38
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