Languages which do not use # as comment character cannot use comments like # mise description='' in a script task.
To Reproduce
Create a script task .mise/scripts/foo:
#!/usr/bin/env node
// mise description='Foo'
console.log('Foo');
Expected behavior
The description should appear in mise tasks [ls], but it does not. If you change the comment character to #, the description appears, but of course you then get a syntax error when you run the task.
Describe the bug
Languages which do not use
#
as comment character cannot use comments like# mise description=''
in a script task.To Reproduce
Create a script task
.mise/scripts/foo
:Expected behavior The description should appear in
mise tasks [ls]
, but it does not. If you change the comment character to#
, the description appears, but of course you then get a syntax error when you run the task.mise doctor
output