lighthouse icon indicating copy to clipboard operation
lighthouse copied to clipboard

'assets:add' doesn't skip files starting with .

Open paricleu opened this issue 3 years ago • 1 comments

Describe the bug The assets:add command doesn't skip hidden files as mentioned here.

To Reproduce Steps to reproduce the behavior:

  1. Run lh assets:add
  2. Open pubspec.yaml
  3. Added assets contain the .DS_Store file from macOS
flutter:
  uses-material-design: true

  assets:
    - assets/.DS_Store
    - assets/image.jpg
    ...

Expected behavior assets:add skips hidden files.

Desktop (please complete the following information):

  • OS: macOs

paricleu avatar Jan 11 '22 12:01 paricleu

thanks for opening this issue . 💙 aim rebuild the lighthouse again from scratch to make sure it is possible to write tests for it so it might takes time to see this issue closed but this problem is solved on the new branch and fully tested i will close this issue when the it is okay to use the new version

maxzod avatar Jan 12 '22 09:01 maxzod