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

filesystem: improve MAX_FILE_SIZE_MB definition #9972

Merged
merged 1 commit into from
Aug 26, 2021

Conversation

paul-marechal
Copy link
Member

@paul-marechal paul-marechal commented Aug 26, 2021

What it does

Fixes: #9815
Closes: #9818

Depending how you configure your Electron BrowserWindow, environment.electron.is() can return true but process would still be undefined. Instead we should check for process to be defined.

Review checklist

Reminder for reviewers

Depending how you configure your Electron `BrowserWindow`,
`environment.electron.is()` can return `true` but `process` would still
be `undefined`. Instead we should check for `process` to be defined.
@vince-fugnitto vince-fugnitto added the filesystem issues related to the filesystem label Aug 26, 2021
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@paul-marechal paul-marechal merged commit e25f0e7 into master Aug 26, 2021
@paul-marechal paul-marechal deleted the mp/max-file-size-mb branch August 26, 2021 20:04
@github-actions github-actions bot added this to the 1.17.0 milestone Aug 26, 2021
RomanNikitenko pushed a commit that referenced this pull request Sep 16, 2021
Depending how you configure your Electron `BrowserWindow`,
`environment.electron.is()` can return `true` but `process` would still
be `undefined`. Instead we should check for `process` to be defined.
RomanNikitenko pushed a commit that referenced this pull request Sep 16, 2021
Depending how you configure your Electron `BrowserWindow`,
`environment.electron.is()` can return `true` but `process` would still
be `undefined`. Instead we should check for `process` to be defined.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filesystem issues related to the filesystem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Restoring the process variable in the browser.
2 participants