vmchale / tin-summer

Find build artifacts that are taking up disk space
BSD 3-Clause "New" or "Revised" License
339 stars 16 forks source link

Error: Failed to parse gitignore #3

Closed dten closed 7 years ago

dten commented 7 years ago

No idea where the bad file is but sn died :(

PS C:\Users\David> sn ar
Error: Failed to parse gitignore
vmchale commented 7 years ago

Hmm okay. I released a patch which make the failure a bit more graceful. I'm going to keep this open for the time being; if you see which file produced the error do tell me!

Thanks for the bug report by the way.

dten commented 7 years ago
PS C:\Users\David> sn ar
Error: Failed to parse gitignore at: .\.cargo\registry\src\github.com-1ecc6299db9ec823\racer-2.0.9\.gitignore
Error: path '.\AppData\Local\ElevatedDiagnostics' does not exist.

Here's as far as I got now :)

the gitignore it doesn't like looks like this

\#*
src/scopes
!.travis.yml
*tmpfile*
*.racertmp
target/
*.py[cod]
.vscode/**

and ElevatedDiagnostics requires admin to enter so I guess that's related

vmchale commented 7 years ago

Okay, I've made it less zealous about what it considers a failure necessitating that we abort the command. This should fix things, so let me know if it doesn't.

Thanks again for your patience.