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
{{ message }}
This repository has been archived by the owner on Aug 27, 2018. It is now read-only.
Reloading a command doesn't reload the commands' usage arguments, if you had wrote it incorrectly and tried to reload it to fix it - or at least not in this case.
Expected Behaviour
Reloading the command which previously had incorrect syntax in the usage arguments, then fixed, should update the command usage and reload it without errors.
Actual Behaviour
The same error is displayed when trying to reload the command, as was displayed when you made the syntax mistake, despite the usage being fixed. A reboot is necessary to reload the command properly.
Steps to Reproduce.
Upload this test.js (a simple command with some usage args) command and load it, the arguments are written correctly.
Edit the file on your server and change the first argument from <anInteger:int{1,10000}> to <anInteger:int{1,10000> and reload the command, you will get an error because it is incorrect.
Edit the file and fix the syntax error by putting the } back in, and try to reload the command, it will show the same error in Step 2.
The text was updated successfully, but these errors were encountered:
Version of Komada
v0.20.7
Are core files modified?
No.
Describe the problem
Reloading a command doesn't reload the commands' usage arguments, if you had wrote it incorrectly and tried to reload it to fix it - or at least not in this case.
Expected Behaviour
Reloading the command which previously had incorrect syntax in the usage arguments, then fixed, should update the command usage and reload it without errors.
Actual Behaviour
The same error is displayed when trying to reload the command, as was displayed when you made the syntax mistake, despite the usage being fixed. A reboot is necessary to reload the command properly.
Steps to Reproduce.
<anInteger:int{1,10000}>
to<anInteger:int{1,10000>
and reload the command, you will get an error because it is incorrect.}
back in, and try to reload the command, it will show the same error in Step 2.The text was updated successfully, but these errors were encountered: