Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
BrentBlanckaert committed Nov 21, 2024
1 parent 487f9ae commit af62b3f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .devcontainer/dodona-tested.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ RUN <<EOF
xxd \
shellcheck



# JavaScript dependencies
bash -c 'set -o pipefail && curl -fsSL https://deb.nodesource.com/setup_22.x | bash -'
apt-get install -y --no-install-recommends nodejs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as fs from "fs";

function echoFile(content: Object) {
function echoFile(content: string) {
return new Promise((resolve: (value: unknown) => void, reject: (reason?: any) => void) => {
fs.readFile(content, {encoding:'utf8', flag:'r'}, (err: any, data: unknown) => {
if (err) {
Expand Down

0 comments on commit af62b3f

Please sign in to comment.