wttech / crex-sdk

Javascript SDK for Creative Exchange API
MIT License
10 stars 4 forks source link

Export doesn't work using Windows bash #1

Closed mateuszluczak closed 7 years ago

mateuszluczak commented 7 years ago
$ ce export /content/training/zen-garden/en-gb
Downloading package
Auth file found
(node:13356) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'status' of undefined

Node version: 6.10.3 Commandline: Git bash

mateuszluczak commented 7 years ago

Git bash (mingw) seems to mangle paths.

https://github.com/moby/moby/issues/24029

Fix: Skip trailing slash in path or use different command line on windows