Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folder in icons folder ending in .svg causes error #3

Closed
Jade-GG opened this issue Jan 10, 2023 · 1 comment
Closed

Folder in icons folder ending in .svg causes error #3

Jade-GG opened this issue Jan 10, 2023 · 1 comment
Assignees

Comments

@Jade-GG
Copy link

Jade-GG commented Jan 10, 2023

Bug description

When you create a folder inside of the resources/icons folder that ends in .svg, iconamic will try to read the folder as if it's a file and throw an error.

Steps to reproduce

  • Create a new folder in the resources/icons folder (or whichever one you have set up in your configuration)
  • Name it something like test.svg
  • Open any statamic page with the iconamic addon
  • Observe the crash

Environment and versions

Laravel Version: 9.44.0
PHP Version: 8.1.14
Composer Version: 2.2.9
Statamic version: 3.3.62 PRO
mitydigital/iconamic: 1.1.1

Additional details

No response

@martyf martyf self-assigned this Jan 10, 2023
@martyf
Copy link
Contributor

martyf commented Jan 10, 2023

Thanks for this @Jade-GG, this should be addressed in the latest release, 1.1.2.

Let me know how you go.

@martyf martyf closed this as completed Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants