Open flybyray opened 1 year ago
Apply patch as workarround.
patch -p1 /home/username/.local/share/powershell/Modules/JumpCloud/2.2.0/Private/NestedFunctions/New-JCCommandFromURL.ps1 < <(curl -fsSL https://github.com/flybyray/support/commit/73c5fbc4d13b871ce472ecbe43266fb2d988218f.patch)
replace /home/username/.local/share/powershell/Modules/JumpCloud/2.2.0/Private/NestedFunctions/New-JCCommandFromURL.ps1
with the correct path.
'The URL of the JumpCloud command to import into a JumpCloud tenant.' see https://github.com/TheJumpCloud/support/blob/a3ddab05d800d56e3fc90aa8a40889fd72cee03e/PowerShell/JumpCloud%20Module/Public/Commands/Import-JCCommand.ps1#L4
command:
error and stacktrace:
reason:
https://github.com/TheJumpCloud/support/blob/a3ddab05d800d56e3fc90aa8a40889fd72cee03e/PowerShell/JumpCloud%20Module/Private/NestedFunctions/New-JCCommandFromURL.ps1#L17-L18
URL is transformed and not a general URL is expected as described by help text.
Could you allow to import JC Commands from different URLs?