Skip to content

Commit

Permalink
fix: remove split for run command
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasdenecker committed Aug 4, 2023
1 parent e43abbb commit 7e16d95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/content/Execute.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
size="x-small"
prepend-icon="mdi-cog-play"
class="mb-2 ms-2"
>Tester mon code</v-btn
>Test my code</v-btn
>
<div :id="id" style="width: 100%; height: 200px">
{{ command }}
Expand Down Expand Up @@ -72,7 +72,7 @@ export default {
this.store.updateCommand(this.editor.getValue());
},
async testCode() {
await this.store.updateCommand(this.editor.getValue().split("\n"));
await this.store.updateCommand(this.editor.getValue());
await this.store.updateCommandTest(this.test.split("\n"), this.id);
},
},
Expand Down

0 comments on commit 7e16d95

Please sign in to comment.