Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Parse gitignore file Fix#228

Merged
fleveillee merged 4 commits intoupdate-importmap-processorfrom
parse-gitignore-fix
Nov 2, 2023
Merged

Parse gitignore file Fix#228
fleveillee merged 4 commits intoupdate-importmap-processorfrom
parse-gitignore-fix

Conversation

@montalvomiguelo
Copy link
Copy Markdown
Contributor

The new version of parse-gitignore does not return an array of patterns out-of-the-box anymore, which causes the following error during watch mode.

ERROR: TypeError: Found non-callable @@iterator`

This PR adjusts the usage of the new version of the library per the examples in their code base

https://github.com/jonschlinkert/parse-gitignore/blob/caa44f75d7a66c80ea79fbc025a2a402d41ad1f4/examples/parse-file.js#L7

@fleveillee
Copy link
Copy Markdown
Contributor

Missing patch version bump and changelog.md update

@fleveillee
Copy link
Copy Markdown
Contributor

Your PR description says you’re fixing an error, however, the changelog indicates that this is a change. You should use fixed instead. Feel free to explain that your “fix” is due to a package dependency update, but it is still a fix. A functionality change is required to use the Changed category.

Atop of the CHANGELOG.md file, you can find a reference to this page: https://keepachangelog.com/en/1.1.0/ which I invite you to read when you have a chance.

@fleveillee fleveillee merged commit 4d0e92f into update-importmap-processor Nov 2, 2023
@fleveillee fleveillee deleted the parse-gitignore-fix branch November 2, 2023 15:36
montalvomiguelo added a commit that referenced this pull request Nov 3, 2023
* Refactor Import map processor and add comments

* Parse gitignore file Fix (#228)

* Parse gitignore file Fix

* Remove reference to components

* Replace right hand instance of *

* Clean up

* Clean up

---------

Co-authored-by: Frédéric Léveillée <fleveillee@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants