Skip to content

Commit

Permalink
Fix silly grunt error objecting to multiple blank lines and fix warni…
Browse files Browse the repository at this point in the history
…ng message

that cookie file does not exist when attempting to delete it.
  • Loading branch information
trampgeek committed Mar 22, 2024
1 parent 260736a commit 7e9b816
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion classes/jobesandbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ public function execute($sourcecode, $language, $input, $files = null, $params =
}

// Delete the cookie file.
unlink($cookiefile);
@unlink($cookiefile);

$runresult = [];
$runresult['sandboxinfo'] = [
Expand Down
1 change: 0 additions & 1 deletion tests/behat/ace_scratchpad_compatibility.feature
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Feature: Ace UI convert to Scratchpad UI questions with one click
| questioncategory | qtype | name |
| Test questions | coderunner | Square function |


When I am on the "Square function" "core_question > edit" page logged in as teacher1
And I set the following fields to these values:
| id_customise | 1 |
Expand Down

0 comments on commit 7e9b816

Please sign in to comment.