nushell / nushell/nushell.github.io
Documentation on type path doesn't match behaviour
Aperta
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 258
- Fork
- 561
- Merge medio
- 3h 20m
- PR unite (30g)
- 15
Descrizione
String won't be expanded into a fully pathname when passed as an arguments with type of path
Document
Doc's here Nushell Type Path
def show_difference [
p: path
s: string
] {
print $"The path is expanded: ($p)"
print $"The string is not: ($s)"
}
# Results
cd ~/testing
show_difference . .
# => The path is expanded: /home/username/testing
# => The string is not: .
Actually
show_difference . .
# => The path is expanded: .
# => The string is not: .
nu --version
# => 0.112.2
You wouldn't be surprised. Code changes fast around here. Just a reminder
I like nushell, thanks for all works of yours
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia dalla documentazione Nushell Type Path collegata e confronta il suo esempio con il comportamento riportato per Nushell 0.112.2. Verifica il comportamento attuale prima di apportare modifiche; il lavoro è completato quando la documentazione descrive accuratamente come vengono gestiti gli argomenti di percorso e stringa.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Ambito
- documentation
- Tipo di issue
- Documentazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 48/100