build icon indicating copy to clipboard operation
build copied to clipboard

fix: Check for template file and output dir

Open charliettaylor opened this issue 3 months ago • 0 comments

  • Current logic checks if the template is a dir, should be checking output. It will also throw an exception since lstatSync does not handle missing files
  • Add check to make sure template exists, give an error message instead of ENOENT
  • Add check for output dir so exception is not thrown

charliettaylor avatar Sep 03 '25 03:09 charliettaylor