Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

write error for movetofolder on MacOS 11 #153

Closed
ozawaslave opened this issue Dec 11, 2020 · 4 comments · Fixed by #157
Closed

write error for movetofolder on MacOS 11 #153

ozawaslave opened this issue Dec 11, 2020 · 4 comments · Fixed by #157
Assignees
Labels
bug Something isn't working

Comments

@ozawaslave
Copy link

ozawaslave commented Dec 11, 2020

Expected Behavior

To move file

Current Behavior

Write-Error: /Users/XXX/.local/share/powershell/Modules/Javinizer/2.1.6/Public/Invoke-JVParallel.ps1:561                                                                                                                               
Line |                                                                                                                                                                                                                                   
561 |                      Get-RunspaceData                                                                                                                                                                                                 
|                      ~~~~~~~~~~~~~~~~                                                                                                                                                                                                 
|        mv [-f | -i | -n] [-v] source ... directory

Steps to Reproduce (for bugs)

jvSettings.json has "sort.movetofolder": 1,

Your Environment

  • Module version used: PowerShell 7.0.3, Javinizer 2.1.6
  • Operating System and PowerShell version: MacOS 11.0 Big Sur
@jvlflame jvlflame self-assigned this Dec 11, 2020
@jvlflame jvlflame added the bug Something isn't working label Dec 11, 2020
@jvlflame
Copy link
Collaborator

Ah I know what the issue is... I changed the Move-Item command to mv for linux systems due to how it's working in the linux GUI version.

I'll see if I can target MacOS to use the move-item command.

@jvlflame
Copy link
Collaborator

@ozawaslave Can you give me your output of $PSVersionTable in PowerShell?

@ozawaslave
Copy link
Author

Name                           Value
----                           -----
PSVersion                      7.0.3
PSEdition                      Core
GitCommitId                    7.0.3
OS                             Darwin 20.2.0 Darwin Kernel Version 20.2.0: Mon Nov 23 05:24:51 PST 2020; root:xnu-7195.60.74~7/RELEASE_X86_64
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

@jvlflame
Copy link
Collaborator

Thanks, I pushed a change that I believe will resolve this error.

@jvlflame jvlflame linked a pull request Dec 14, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants