globbing
Here are 29 public repositories matching this topic...
Please describe the minimum necessary steps to reproduce this issue:
The example given in README for API some is not working as intended.
Link to example in REPL
const mm = require('micromatch');
// mm.some(list, patterns[, options]);
console.log(mm.some(['foo.js', 'bar.js'], ['*.js', '!foo.js']));
// true
console.log(mm.sonode-glob has the nonull option which instead of returning an empty array if no patterns matches, it returns the patterns that didn't match anything. This can be useful when you want to report to the user what patterns/filepaths couldn't be found.
Definitely needs a better name than nonull though.
-
Updated
Sep 25, 2019 - JavaScript
-
Updated
Jan 25, 2016 - Shell
-
Updated
Jun 16, 2019 - JavaScript
-
Updated
May 23, 2019
-
Updated
Mar 11, 2020 - JavaScript
-
Updated
May 16, 2020 - Haxe
-
Updated
May 25, 2019 - JavaScript
-
Updated
Jun 22, 2020 - C#
Make the test code a but smarter and less verbose
-
Updated
May 15, 2018 - JavaScript
-
Updated
Apr 30, 2018 - JavaScript
Similar to micromatch/glob-base#5
One test fails,
1) should get a base path: qmarks::
AssertionError: '?' == '.'
+ expected - actual
-?
+.
at Context.<anonymous> (/home/pravi/forge/debian/git/pkg-javascript/node-parse-glob/test.js:364:12)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
at Tes
-
Updated
May 25, 2019 - JavaScript
-
Updated
May 11, 2020 - Rust
-
Updated
Feb 26, 2018 - JavaScript
-
Updated
May 25, 2019
-
Updated
Oct 2, 2019 - JavaScript
-
Updated
Oct 22, 2019 - C#
-
Updated
Oct 29, 2019 - C#
-
Updated
Jan 7, 2019 - C
-
Updated
Mar 15, 2019 - JavaScript
Improve this page
Add a description, image, and links to the globbing topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the globbing topic, visit your repo's landing page and select "manage topics."
Currently only gitignores from cwd and down are taken into account for gitignore filtering. What about those who are higher in a hierarchy?
Use case: monorepo repositories (like babel f