-
Notifications
You must be signed in to change notification settings - Fork 202
.js extension and run cmd required #411
Copy link
Copy link
Closed
Description
Previously I used tjs like this:
/bin/myscript
#!/usr/bin/tjs
…
However recently this doesn't work anymore, for two reasons:
- tjs needs to be called with
runcmd. However you cannot pass a second argument in shebang. Easy to work around that by adding a wrapper script. - tjs doesn't want files without a js extension anymore. Maybe also workaround-able by using a custom js script.
Is this intended behavior, if so why?
P.S. the "error message" for a file with another file ending is also misleading.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels