Skip to content

Commit

Permalink
Merge pull request #173 from ku8ar/master
Browse files Browse the repository at this point in the history
[other] Optimization
  • Loading branch information
jonschlinkert authored Feb 23, 2020
2 parents 0b2c7e0 + 1269b9c commit fe4858b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const util = require('util');
const braces = require('braces');
const picomatch = require('picomatch');
const utils = require('picomatch/lib/utils');
const isEmptyString = val => typeof val === 'string' && (val === '' || val === './');
const isEmptyString = val => val === '' || val === './';

/**
* Returns an array of strings that match one or more glob patterns.
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"Paul Miller (paulmillr.com)",
"Tom Byrer (https://github.com/tomByrer)",
"Tyler Akins (http://rumkin.com)",
"Peter Bright <[email protected]> (https://github.com/drpizza)"
"Peter Bright <[email protected]> (https://github.com/drpizza)",
"Kuba Juszczyk (https://github.com/ku8ar)"
],
"repository": "micromatch/micromatch",
"bugs": {
Expand Down

0 comments on commit fe4858b

Please sign in to comment.