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.
This commit is contained in:
Dan Phillimore 2013-07-12 09:44:38 +01:00
parent 39d51b1be1
commit 0dafb516cb

View File

@ -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.