Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix linting errors
  • Loading branch information
Ethan-Arrowood authored May 7, 2020
commit 6286df58c4ecb904cebef2bef248949c89f2d267
8 changes: 4 additions & 4 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -5372,13 +5372,13 @@ To use more than one constant, use the bitwise OR `|` operator.
Example:

```js
const fs = require('fs')
const fs = require('fs');

const flags = fs.constants.O_RDWR | fs.constants.O_CREAT | fs.constants.O_EXCL
const flags = fs.constants.O_RDWR | fs.constants.O_CREAT | fs.constants.O_EXCL;

fs.open('<file>', flags, (err, fd) => {
fs.open('<file>', flags, (err, fd) => {
// ...
})
});
```

### File Access Constants
Expand Down