Skip to content

Commit 5aaa640

Browse files
committed
Typo
1 parent 8decdb3 commit 5aaa640

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/06_get_file_contents.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ async function main() {
44
const board = new Board()
55
await board.open(process.env.PORT)
66
const output = await board.fs_cat('test.py')
7-
console.log('file contentes:')
7+
console.log('file contents:')
88
console.log(output)
99
board.close()
1010
}

examples/08_file_exists.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ async function main() {
88
if (testFileExists) {
99
console.log('test.py exists')
1010
} else {
11-
console.log('test.py does not exists')
11+
console.log('test.py does not exist')
1212
}
1313

1414
const fakeFileExists = await board.fs_exists('xxxxxxxxxxx')
1515
if (fakeFileExists) {
1616
console.log('xxxxxxxxxxx exists')
1717
} else {
18-
console.log('xxxxxxxxxxx does not exists')
18+
console.log('xxxxxxxxxxx does not exist')
1919
}
2020

2121
board.close()

0 commit comments

Comments
 (0)