Skip to content

Commit 4b2605e

Browse files
committed
Removed limit on amount of logs displayed to user.
1 parent 8479490 commit 4b2605e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/App/App.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)