jk
jk copied to clipboard
Correctly set input directory when resolving script path as directory
It's possible to supply e.g., ./example as the script path (argument to jk run or generate), and it will resolve if there's an ./example/index.js. But the default input path will not be ./example/, as you might expect -- it will be ./, since it's calculated based on the argument, rather than what it resolves to.