Comments (5)
oh this was ignored for months now 🙃
was debugging for a long time to figure out where it comes from and what's causing it
https://github.com/terkelg/tiny-glob/blob/master/index.js#L13
it's this line
> path.join('.', '/wew')
'wew'
from tiny-glob.
Hi @rdmurphy
Thank you for the kind words and for the profound issue description - appreciate it!
I wonder if this is related to #28. Can you maybe have a look at this? I would love to have someone to help maintain tiny-glob
. I can add you to the repo if you're keen?
Thanks,
Terkel
from tiny-glob.
Thanks for the bump & investigation @ForsakenHarmony 👏 path.resolve
should be there instead, ya?
from tiny-glob.
I mentioned it up in the first post of the issue, but I think the funkiness is coming from having an actual dot .
as the default cwd
value. I think having it default to process.cwd()
instead + skipping the joining of cwd
if it's not an absolute path would clear it up with the current code.
from tiny-glob.
Ah, sorry. I dont think I ever looked at this issue.
process.cwd() === resolve('.')
so that's not the problem
from tiny-glob.
Related Issues (20)
- Future plans? HOT 4
- support follow symlinks on directories HOT 1
- Type definitions for sync.js
- custom filesystem support?
- invalid main field
- ESM version of tiny-glob? HOT 4
- [DEP0128] DeprecationWarning HOT 3
- how do you do case insensitive glob?
- Add `exclude` array option to exclude specific globs
- Unterminated group error for "{*,sub/*}.html"
- Any glob without any globs returns forward slashes on Windows
- File paths are always relative to the current directory unlike folders
- Square brackets in directory name returns no results HOT 1
- How to ignore searching inside `node_modules` HOT 5
- Benchmark against fdir HOT 2
- [Feature request] Synchronous support HOT 2
- Arrays of globs with negation HOT 1
- Support for double asterisk matches ** like bash globbing HOT 1
- ignore paths in .gitignore in glob results...like globby
- Is this project abandoned? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiny-glob.