christianvoigt/argdown

Underscore in pathname seems to breaks file detection

Opened this issue · 0 comments

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.