From e73cc8a29dfa67450e12a98aefa56d41f912933b Mon Sep 17 00:00:00 2001 From: Chris Blossom Date: Wed, 27 Feb 2019 11:06:11 -0800 Subject: [PATCH] Fix typo in error message (#80) --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 6890cbf..714ebba 100644 --- a/index.js +++ b/index.js @@ -11,11 +11,11 @@ const rimrafP = pify(rimraf); function safeCheck(file) { if (isPathCwd(file)) { - throw new Error('Cannot delete the current working directory. Can be overriden with the `force` option.'); + throw new Error('Cannot delete the current working directory. Can be overridden with the `force` option.'); } if (!isPathInCwd(file)) { - throw new Error('Cannot delete files/folders outside the current working directory. Can be overriden with the `force` option.'); + throw new Error('Cannot delete files/folders outside the current working directory. Can be overridden with the `force` option.'); } }