christianvoigt / argdown

a simple syntax for complex argumentation
https://argdown.org
860 stars 28 forks source link

Underscore in pathname seems to breaks file detection #432

Open katrinleinweber opened 9 months ago

katrinleinweber commented 9 months ago

Whenever I tried the argdown CLI in any subfolder with _ in its name, any operation resulted in this No Argdown files found error:

# after cloning & cd-ing into repo
$ argdown compile examples/argdown-primer.argdown
Successfully compiled 1 file.

$ mv examples _examples
$ head -1 _examples/argdown-primer.argdown
# :heart: Welcome to Argdown! :heart:

$ argdown compile _examples/argdown-primer.argdown
Compilation failed: No Argdown files found at: '[…]/_examples/argdown-primer.argdown'

$ node --version && argdown --version
v18.18.2 # LTS
1.7.5

I'm not 100% sure whether this could be due to problems due to NodeJS installed both via asdf & Homebrew, and or due to using newer dependency versions than defined in this repo, though.