jk icon indicating copy to clipboard operation
jk copied to clipboard

Correctly set input directory when resolving script path as directory

Open squaremo opened this issue 6 years ago • 0 comments

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.

squaremo avatar Jul 03 '19 21:07 squaremo