-
I just completed a Kata that could have a different solution enabled if the Kata itself had Node v12 enabled. Unfortunately, the Kata's tests need to be modified to enable Node v12 support (per this archived response on a related codewars-runner-cli question). I'm willing to take a stab at updating the tests themselves, but when I tried making the updates via the "translation" route, neither "JavaScript" nor "Node" were options in the "Choose Language...". So, how do I (a) edit the existing Kata or (b) add a translation for a different version of a language for which the Kata already has a translation? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There's a known problem that translations which were created directly with kata editor (including initial kata language) cannot be modified by forking. You can fork only translations created via Translations panel. JS language was probably initial language for the kata you are trying to edit, and thats why it can be fixed only with the kata editor. Depending on your privileges, you might or might not be able to do this. This is already recognised as a problem and a subject to future improvement. That being said, usually there's no need to keep separate solution for Node 12. Its fine to update the kata to make it Node 12 compatible and do not worry too much about backwards compatibility of tests with prevoius versions. |
Beta Was this translation helpful? Give feedback.
There's a known problem that translations which were created directly with kata editor (including initial kata language) cannot be modified by forking. You can fork only translations created via Translations panel.
JS language was probably initial language for the kata you are trying to edit, and thats why it can be fixed only with the kata editor. Depending on your privileges, you might or might not be able to do this. This is already recognised as a problem and a subject to future improvement.
That being said, usually there's no need to keep separate solution for Node 12. Its fine to update the kata to make it Node 12 compatible and do not worry too much about backwards compatibility of…