Skip to content

Commit 31e177a

Browse files
authored
Clarify docs for remove*() (#690)
Closes #659
1 parent fff04cb commit 31e177a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/remove-sync.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# removeSync(path)
22

3-
Removes a file or directory. The directory can have contents. Like `rm -rf`.
3+
Removes a file or directory. The directory can have contents. If the path does not exist, silently does nothing. Like `rm -rf`.
44

55
- `path` `<String>`
66

docs/remove.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# remove(path[, callback])
22

3-
Removes a file or directory. The directory can have contents. Like `rm -rf`.
3+
Removes a file or directory. The directory can have contents. If the path does not exist, silently does nothing. Like `rm -rf`.
44

55
- `path` `<String>`
66
- `callback` `<Function>`

0 commit comments

Comments
 (0)