File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -167,14 +167,9 @@ class App extends Component {
167167 // Before processing the new result, we must pop the message 'Running your code...' off and re-enable the button.
168168 this . setFinishedStatus ( )
169169
170- // Will only keep the latest 10 results in the logs.
170+ // TODO: Keep only a specific amount of logs.
171171 let currentResults = this . state . results
172172
173- // Most recent results are at the top, remove the element at the end if we exceed 10 logs.
174- if ( currentResults . length >= 10 ) {
175- currentResults . pop ( )
176- }
177-
178173 if ( result [ 'build' ] === true ) {
179174 currentResults . unshift ( '[' + languages [ this . state . language ] + '] Build successfully completed!\nStandard output:\n' + result [ 'message' ] )
180175 } else {
You can’t perform that action at this time.
0 commit comments