From 0dafb516cb564223b9739e2f5df528c571e4b331 Mon Sep 17 00:00:00 2001 From: Dan Phillimore Date: Fri, 12 Jul 2013 09:44:38 +0100 Subject: [PATCH] Fix a small typo in README.md The negated -f test is checking whether the path is *not* a regular file, so I have updated the comment to match. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8b45592..c8762a3 100644 --- a/README.md +++ b/README.md @@ -266,7 +266,7 @@ Examples: ```javascript if (test('-d', path)) { /* do something with dir */ }; -if (!test('-f', path)) continue; // skip if it's a regular file +if (!test('-f', path)) continue; // skip if it's not a regular file ``` Evaluates expression using the available primaries and returns corresponding value.