You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But it looks like tmplr was trying to replace the local directory with the file. I'd expect that specifying a path, even just ., would copy the file to that location using its existing name.
I guess there's some ambiguity as to whether ./foo should mean renaming the file to foo or not. I feel like there's some de facto standard in configs like for webpack, but I can't think of it at the moment.
In any case, it would be nice to catch the error and provide a better message than illegal operation on a directory, since I didn't think I was doing anything to a directory.
The text was updated successfully, but these errors were encountered:
I tried doing something like this:
But it looks like tmplr was trying to replace the local directory with the file. I'd expect that specifying a path, even just
.
, would copy the file to that location using its existing name.I guess there's some ambiguity as to whether
./foo
should mean renaming the file tofoo
or not. I feel like there's some de facto standard in configs like for webpack, but I can't think of it at the moment.In any case, it would be nice to catch the error and provide a better message than
illegal operation on a directory
, since I didn't think I was doing anything to a directory.The text was updated successfully, but these errors were encountered: