Describe the bug
Uploading theme on Windows, online PATH should be "/theme-name/" but it is under "/theme-name/C:/folder-where-is-theme/theme/"
To Reproduce
Steps to reproduce the behavior:
- Install "@resultify/hubspot-cms-lib": "^3.7.0" on Windows
- Setup theme and run "npm run upload"
- Uploaded theme will be located under root: "/theme/C:/folder-where-is-theme/theme/"
Expected behavior
Upload just theme under "/theme/"
Screenshots
- this is when theme is located under "C:\theme"

Desktop (please complete the following information):
- OS: Windows
- Node: v18.18.2, NPM v10.2.3
- "@resultify/hubspot-cms-lib": "^3.7.0"
Additional context (QUICK FIX)
Gist where it works on Windows,:
What I changed to make it work cross platform - DIFF
Describe the bug
Uploading theme on Windows, online PATH should be "/theme-name/" but it is under "/theme-name/C:/folder-where-is-theme/theme/"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Upload just theme under "/theme/"
Screenshots
Desktop (please complete the following information):
Additional context (QUICK FIX)
Gist where it works on Windows,:
theme name is taken from package.json "name" and will be uploaded into HubSpot
What I changed to make it work cross platform - DIFF