talonvoice / beta

Issue tracker for the private Talon Beta
10 stars 0 forks source link

"git fetch {text or ''}" results in a NameError #119

Closed dwiel closed 3 years ago

dwiel commented 3 years ago

For example, defining the following:

git fetch [<user.text>]: "git fetch {text or ''}"

results in this if no text follows git fetch:


NameError: name 'text' is not defined```
lunixbochs commented 3 years ago

Closing as duplicate of https://github.com/talonvoice/talon/issues/144

lunixbochs commented 3 years ago

Fixed in next beta:

test [<phrase>]:
    print("hello {phrase or 'not found'} etc")
2020-11-02 20:36:35    IO DECODED ['@test']
2020-11-02 20:36:35    IO hello not found etc
2020-11-02 20:36:57    IO DECODED ['@test', 'bananas']
2020-11-02 20:36:57    IO hello bananas etc