paulonteri / remote-code-execution-environment

Have you ever wondered how code execution on competitive programming websites like leetcode works? Code that runs code. Tried implementing that.
https://runcode.paulonteri.com
MIT License
152 stars 40 forks source link

Language Change: Initial Toggling back form C# fails to load new language boilerplate code #9

Closed Mutugiii closed 4 years ago

Mutugiii commented 4 years ago

Describe the bug On changing the language from C#, the C# boilerplate code is retained.

To Reproduce Steps to reproduce the behavior: Change the language to C# -> Change to any other language(without writing any code)

Expected behavior Boilerplate code should change if no C# code has been altered

Screenshots If applicable, add screenshots to help explain your problem.

Desktop:

Additional Context This is a small fix so could open PR for this

Mutugiii commented 4 years ago

While spinning it up in the development, also realized that support for Go has been added and the same needs a fix