Skip to content

Fixes getAllNodeAddons matches non '.node' suffix files#159

Merged
a7ul merged 1 commit intonodegui:masterfrom
qwqVictor:master
Oct 3, 2021
Merged

Fixes getAllNodeAddons matches non '.node' suffix files#159
a7ul merged 1 commit intonodegui:masterfrom
qwqVictor:master

Conversation

@qwqVictor
Copy link
Copy Markdown
Contributor

The regular expressions in function getAllNodeAddons may lead other files containing 'node' to be regarded as node addon, which can leads failure while packing.

On Windows, I've encountered the problem that it passes some JavaScript file generated by webpack whose name contains 'node' to windeployqt, and fails to pack the whole application.

I have fixed this bug in this commit.

@a7ul a7ul merged commit b7dbf2f into nodegui:master Oct 3, 2021
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