You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Assets not included when cwd contains spaces/special characters #201
What Node versions, OSs and CPU architectures are you building for?
node24-win-x64
Describe the Bug
When the current working directory (cwd) contains special characters (e.g. (, )), the glob pattern passed to tinyglobby is not properly escaped/quoted. For example, tinyglobby receives:
C:/Storage/Code (Windows)/Repo/*.node
As a result, tinyglobby returns no matches (empty result), even though matching *.node files exist under that directory.
Path should be use convertPathToPattern to escape.
Expected Behavior
Assets included
To Reproduce
Create a project in a path that contains special characters (parentheses), for example:
C:\Code (Test)\my-project\
Add assets that should be packaged (e.g., *.node files) into the project.
Run the packaging/build command that includes assets from inside the project directory (so cwd is under C:\Code (Test)...).
Observed: The output does not include the assets (they are missing).
Activity
robertsLando commentedon Feb 4, 2026
PR?