Azure / draft-classic

A tool for developers to create cloud-native applications on Kubernetes.
https://draft.sh
MIT License
3.92k stars 396 forks source link

draft create enters infinite loop on Windows #650

Closed alexpilotti closed 6 years ago

alexpilotti commented 6 years ago

Running "draft create" on Windows hangs. Adding "--debug" shows that it loops endlessly through the packs.

Workaround: specify the desired pack name / path:

draft create -p "github.com\Azure\draft\packs\csharp"

radu-matei commented 6 years ago

Hi, @alexpilotti! I currently don't have access to a Window machine, but first thing I will do is replace path.Join from https://github.com/Azure/draft/blob/master/cmd/draft/create.go#L192 with filepath.Join

Let me know if you have a chance to try this before I do.

Thanks!

radu-matei commented 6 years ago

Thanks, @bacongobbler!

@alexpilotti - let us know if the issue is solved now.