Giter Site home page Giter Site logo

fasdr's People

Contributors

here-mikelley avatar kelleyma49 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

fasdr's Issues

PowerShell 7 compatibility

In PowerShell 7, Import-Module Fasdr results in:

InvalidOperation: <User profile path>\Documents\PowerShell\Modules\Fasdr\1.0.135\Fasdr.psm1:288
Line |
 288 |          if ((test-path $path) -and $global:fasdrDatabase.AddEntry($fi …
     |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.

Are there any plans to support 7 or any idea what needs to be done?

Errors when running on macOS

Hello!

I tried importing the module on Mac and got few errors import-module fasdr

PS /Users/vors/dev/Pester> import-module fasdr                                                                            New-Object : Cannot convert argument "0", with value: "System.IO.Abstractions.FileSystem", for "Database" to type "System.IO.Abstractions.IFileSystem": "Cannot convert the "System.IO.Abstractions.FileSystem" value of type "System.IO.Abstractions.FileSystem" to type "System.IO.Abstractions.IFileSystem"."                                                              At /Users/vors/.local/share/powershell/Modules/Fasdr/1.0.135/Fasdr.psm1:237 char:26                                       
+ ... rDatabase = New-Object Fasdr.Backend.Database -ArgumentList $fileSyst ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [New-Object], MethodException
+ FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand
 
database is null!
You cannot call a method on a null-valued expression.
At /Users/vors/.local/share/powershell/Modules/Fasdr/1.0.135/Fasdr.psm1:241 char:2
+     $global:fasdrDatabase.Load()
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
 
You cannot call a method on a null-valued expression.
At /Users/vors/.local/share/powershell/Modules/Fasdr/1.0.135/Fasdr.psm1:488 char:1
+ $location = $global:fasdrDatabase.GetProviderDatabaseLocation($provid ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
 
Test-Path : Cannot bind argument to parameter 'Path' because it is null.
At /Users/vors/.local/share/powershell/Modules/Fasdr/1.0.135/Fasdr.psm1:489 char:17
+ if (!(Test-Path $location)) {
+                 ~~~~~~~~~
+ CategoryInfo          : InvalidData: (:) [Test-Path], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.TestPathCommand

I assumed it could work on unix, because Travis CI badge indicates that it has a CI on non-windows platforms. Is it a case?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.