MySQLite icon indicating copy to clipboard operation
MySQLite copied to clipboard

[Bug] - `Get-MySqliteDb` `$null` `Target` If Onedrive

Open mattcargile opened this issue 1 year ago • 0 comments

OneDrive files have a ReparsePoint and a $null .Target property. Would it be reasonable to support another check in the below if like -and $null -ne $ThisDb.Target otherwise Get-Item will "throw".

https://github.com/jdhitsolutions/MySQLite/blob/7ec667dca1f262ece43f8174199a4447c81c5a71/functions/Get-MySQLiteDB.ps1#L40-L46

Now Onedrive and a database is a terrible idea for production scenarios. It would be convenient to fix the error if one happens to create a temp db for testing.

mattcargile avatar Jan 24 '25 00:01 mattcargile