jaxxstorm / aws-sso-creds

Get AWS SSO temporary creds from an SSO profile
MIT License
189 stars 24 forks source link

Path separators are hardcoded #10

Closed cjharries-nexient closed 2 years ago

cjharries-nexient commented 2 years ago

I'm trying to use aws-sso-creds in a fairly restricted work environment. I need a POSIX shell and can't install WSL so I'm trying to use Cygwin. When I run export, I get this.

Screen Shot 2022-10-10 at 2 51 52 PM

The issue is here. The code has hardcoded POSIX path separators instead of using an agnostic function (AFAIK this is the preferred method). I'll have a PR up for this later today or this week and I'll try to find all other path instances.

jaxxstorm commented 2 years ago

Thanks for the issue, I'll try spin up a windows environment to get this fixed