Skip to content

Commit 07a00d1

Browse files
committed
Apply formatting changes
1 parent 7503f6f commit 07a00d1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/library_fs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ FS.staticInit();
10761076
if ((flags & {{{ cDefs.O_EXCL }}})) {
10771077
throw new FS.ErrnoError({{{ cDefs.EEXIST }}});
10781078
}
1079-
} else if(isDirPath) {
1079+
} else if (isDirPath) {
10801080
throw new FS.ErrnoError({{{ cDefs.EISDIR }}});
10811081
} else {
10821082
// node doesn't exist, try to create it

test/fs/test_fs_eisdir.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ void setup() {
2929
}
3030

3131
int main() {
32-
setup();
33-
open("./does-not-exist/", O_CREAT);
34-
assert(errno == EISDIR);
35-
printf("success\n");
32+
setup();
33+
open("./does-not-exist/", O_CREAT);
34+
assert(errno == EISDIR);
35+
printf("success\n");
3636
}

0 commit comments

Comments
 (0)