A tiny starter project that shows how CodeHub repositories work.

Crash when config file is missing #2

Openlinus opened this issue last week · 2 comments
LTlinuscommented last week

Running the app in a fresh directory throws a FileNotFoundError instead of falling back to defaults.

Steps

  1. mkdir /tmp/fresh
  2. cd /tmp/fresh
  3. hello-codehub

Expected

A helpful message and default config.

GHgracecommented last week

I can reproduce this on Linux. The config loader should catch ENOENT and use defaults.

TOoctocatcommented last week

Good catch. I opened #3 to track the plugin docs separately.

Sign in to join the conversation.