-
Couldn't load subscription status.
- Fork 2
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
From PowerShell Slack
chrisdent [13 h 28]
you'll hit a bug in win PS because you're using$IsWindowsin your GetSystemCopyCommand function. You could useSet-Clipboardon Windows.
https://github.com/edouard-lopez/lesspass-powershell/blob/master/Clipboard.tests.ps1#L5-L9 I'm pretty sure your test will never fail
$IsWindowsexists in PowerShell Core (6+), but not in 5.1 and below. If you want backwards compatibility you'll need to reconsider OS discovery a little.
I plan to useClipboardTextmodule
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed