FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix typo in error message (#80) · sindresorhus/del@e73cc8a · GitHub

Commit e73cc8a

Browse files
authored andcommitted
Fix typo in error message (#80)
1 parent 2b3ee82 commit e73cc8a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎index.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ const rimrafP = pify(rimraf);
1111

1212
function safeCheck(file) {
1313
if (isPathCwd(file)) {
14-
throw new Error('Cannot delete the current working directory. Can be overriden with the `force` option.');
14+
throw new Error('Cannot delete the current working directory. Can be overridden with the `force` option.');
1515
}
1616

1717
if (!isPathInCwd(file)) {
18-
throw new Error('Cannot delete files/folders outside the current working directory. Can be overriden with the `force` option.');
18+
throw new Error('Cannot delete files/folders outside the current working directory. Can be overridden with the `force` option.');
1919
}
2020
}
2121

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL