question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

globs with multiple expanded parts broken in 3.2.0

See original GitHub issue

Environment

  • OS Version: macOS 10.12
  • Node.js Version: 12

Actual Behavior

Patterns with multiple glob parts that are broken now.

fast-glob@3.2.0:

require('fast-glob').sync('packages/@react-spectrum/*/docs/*.mdx')
[]

Expected Behavior

fast-glob@3.1.1:

require('fast-glob').sync('packages/@react-spectrum/*/docs/*.mdx')
[
  '/Users/govett/dev/react-spectrum/packages/@react-spectrum/button/docs/Button.mdx',
  '/Users/govett/dev/react-spectrum/packages/@react-spectrum/radio/docs/Radio.mdx',
  '/Users/govett/dev/react-spectrum/packages/@react-spectrum/textfield/docs/TextArea.mdx',
  '/Users/govett/dev/react-spectrum/packages/@react-spectrum/textfield/docs/TextField.mdx'
]

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
milesjcommented, Feb 21, 2020

I may be having a similar problem? Updated to 3.2.1 and this now fails and returns no results:

fg.sync([`./packages/*/package.json`], {
  absolute: true,
  cwd: '~/repos/nimbus', // is absolute in code
});

Edit: If I remove the leading ./ it works.

0reactions
mrmlnccommented, Feb 27, 2020

@ondratra, please create a separated issue with steps hot to I can reproduce your problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

529703 – Tcsh multi-globbing broken by latest patch
Description of problem: Behaviour of expansion of multiple filename globs on a commandline has changed in the recent patch (tcsh-6.14-14.el5_4.2).
Read more >
Apache SpamAssassin 3.2.0 available - LWN.net
Apache SpamAssassin 3.2.0 is now available! This is the official release, and contains a significant number of changes and major enhancements -- please...
Read more >
Release notes — fish-shell 3.2.2 documentation
This release of fish fixes the following problems identified in fish 3.2.0: Commands in key bindings are run with fish's internal terminal modes,...
Read more >
New in Altium MCAD CoDesigner | User Manual
This page takes a look at key features and technology enhancements available in the latest version of Altium MCAD CoDesigner, ...
Read more >
Gatsby Changelog | 5.3.0
As of Gatsby 5 we're no longer supporting Gatsby 2 and Gatsby 3. ... which will then inform Gatsby to build those shared...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found