~adnano/kiln#29: 
kiln mis-reporting inability to open symlinks

If I create a project with kiln new and add a broken symlink to it:

$ tree
.
├── config.toml
├── content
│   └── _index.gmi
├── public
│   ├── atom.xml
│   └── index.gmi
├── static
│   └── no-such-file -> ../no-such-file
└── templates
    └── _default
        ├── atom.xml
        ├── index.gmi
        └── page.gmi

5 directories, 8 files

... and then run kiln build, the error raised from trying to access the broken symlink is reported as the entire static dir missing:

$ kiln build
2022/09/24 12:22:36 static_dir 'static' does not exist
Status
RESOLVED FIXED
Submitter
~duncan-bayne
Assigned to
No-one
Submitted
2 months ago
Updated
2 months ago
Labels
No labels applied.

~duncan-bayne 2 months ago

I've raised a (trivial) patchset to address this.

~adnano REPORTED FIXED 2 months ago

Duncan Bayne referenced this ticket in commit 05fc173.

Register here or Log in to comment, or comment via email.