8000 Fix typo: 'copy' -> 'xcopy' by AlamyLiu · Pull Request #255 · ARMmbed/mbed-os-tools · GitHub
[go: up one dir, main page]

Skip to content

Fix typo: 'copy' -> 'xcopy' #255

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix typo: 'copy' -> 'xcopy'
Signed-off-by: Alamy Liu <alamy.liu@gmail.com>
  • Loading branch information
AlamyLiu authored and Alamy Liu committed Mar 5, 2021
commit 4cecc6ca7d31c65d00cc2e8230a1905e91aa9fa4
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def execute(self, capability, *args, **kwargs):
if capability == 'shell':
if os.name == 'nt': capability = 'copy'
elif os.name == 'posix': capability = 'cp'
if capability == 'cp' or capability == 'copy' or capability == 'copy':
if capability == 'cp' or capability == 'copy' or capability == 'xcopy':
copy_method = capability
cmd = [copy_method, image_path, destination_path]
if os.name == 'posix':
Expand Down
0