exercism / exercism/cli

Replaced default path when using --workspace

Aperta
#780 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
1.4k
Fork
363
Merge medio
6g 13h
PR unite (30g)
2

Descrizione

I haven't used exercism in a while and just updated to 3.0.11. In the process. I used the --workspace flag, but it ignored the path I gave and replaced the default (existing) path.

Steps taken:

1. `exercism configure --token=`
Result:
```
The default Exercism workspace is ~/Exercism
There is already something there.
...
You can choose the workspace location by rerunning this command
with the --workspace flag.
```
2. `exercism configure --token= --workspace=~/Exercism/Reboot/`
Result:
```
You have configured the Exercism command-line client:

Config dir: ~/.config/exercism
Token: (-t, --token)
Workspace: (-w, --workspace) ~/Exercism/Reboot
API Base URL: (-a, --api) https://api.exercism.io/v1
```

However, `~/Exercism/Reboot` does not exist. The existing directory `~/Exercism` is now an empty directory `~/exercism`.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.