Docs misunderstanding
See original GitHub issueHi!
Docs says Starting from process.cwd() (or some other directory defined by the searchPath argument to load())
, but the code (https://github.com/davidtheclark/cosmiconfig/blob/master/src/createExplorer.js#L98) actually does nothing at all if a search path is not provided.
From my understanding, it should use process.cwd()
by default if no path is provided.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
[Docs] Misunderstanding description of `build.assetsInlineLimit`
The code actually means " build.assetsInlineLimit will be ignored if you specify build.lib , and ONLY IN THIS CONDITION assets will always ...
Read more >OpenNotes helps to improve misunderstandings between ...
One of the biggest benefits of the OpenNotes initiative has been clarification of misunderstandings between patients and clinicians, according to the ...
Read more >Misunderstandings in prescribing decisions in general practice
We aimed to identify misunderstandings between patients and doctors that have potential or actual adverse consequences for taking medicines. Go to: Methods. Our ......
Read more >C++ Misunderstandings (Using the GNU Compiler Collection ...
14.7 Common Misunderstandings with GNU C++ ; Static Definitions: Static member declarations are not definitions ; Name lookup: Name lookup, templates, and ...
Read more >What to do if Writing has been Misunderstood or Misinterpreted
Discover what to do if your readers misunderstand your message. ... respond if documents they've produced result in a misunderstanding?
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed and released in
cosmiconfig@4.0.0
🎉I think defaulting
searchPath
toprocess.cwd()
seems right. Soexplorer.load()
is the equivalent ofexplorer.load(proces.cwd())
. Let’s do that, unless anyone objects.