Thanks to visit codestin.com
Credit goes to github.com

Skip to content

jk validate and transform can't look at files outside the working directory #293

@squaremo

Description

@squaremo

jk validate accepts path directly as arguments on the command line; however, it uses std.read to load them for validation, and that can only read things in the "input directory". The input directory is deliberately not a flag for jk validate, since it's intended the files are supplied via e.g., find.

This gives us a bit of a conundrum! We could turn the directory limiting off for read, but that lets a validation function (or any other code) also read from anywhere.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions