Skip to content
This repository was archived by the owner on Mar 14, 2023. It is now read-only.
This repository was archived by the owner on Mar 14, 2023. It is now read-only.

Why does Shipit try to use rm command to delete file on windows? #278

Description

@obriankevin11

IMO it should use del command. How can I change that?

Running "mkdir -p /var/www/<hidden>/releases/20201021130855" on host "<hidden>".
Release path created.
Copy project to remote servers.
"copy" method is deprecated, please use "copyToRemote", "copyFromRemote", "scpCopyToRemote" or "scpCopyFromRemote". It will break in v5.0.0.
Running "mkdir -p /var/www/<hidden>/releases/20201021130855" on host "<hidden>".
@<hidden>-err 'rm' is not recognized as an internal or external command,
@<hidden>-err operable program or batch file.
'deploy:update' errored after 5.69 s
Error: Command failed: cd C:\Users\<hidden>\AppData\Local\Temp && C: && rm tmp-33708lcvMxMo00Qtf.tar.gz
'rm' is not recognized as an internal or external command,
operable program or batch file.

    at ChildProcess.exithandler (child_process.js:294:12)
    at ChildProcess.emit (events.js:198:13)
    at maybeClose (internal/child_process.js:982:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions