ahonnecke / consolo

MIT License
0 stars 0 forks source link

Relative paths don't work. [osx] #1

Open ahonnecke opened 1 year ago

ahonnecke commented 1 year ago
~/bin/consolo --profile badillo-dev --function-name bsm-aggregation-service-d-DecodedBsmStreamConsumer-WfA7714nKzpw --path ./consumer

Results in:

    raise RuntimeError("Prefix was not in path")
RuntimeError: Prefix was not in path

Whereas this works:

~/bin/consolo --profile badillo-dev --function-name bsm-aggregation-service-d-DecodedBsmStreamConsumer-WfA7714nKzpw --path /Users/brianbadillo/code/bsm-aggregation-service/consumer
ahonnecke commented 1 year ago

image

ahonnecke commented 1 year ago

image

ahonnecke commented 1 year ago

image

Seems to be working for me, but I added some code to convert to a relative path:

ahonnecke commented 1 year ago

https://github.com/ahonnecke/consolo/commit/f26930e95490717527b054a123b58eeb84d3be54