Skip to content

(autolab download) Exit code of 0 is returned on error #18

@victorhuangwq

Description

@victorhuangwq
Contributor

We observed this in 2 situations:
        1. when trying to download a non-existing assignment.
        2. when trying to download an already downloaded assignment.
           It's great that the CLI refuses to download the assignment if a directory
           with that name already exists, but it returns the same exit code as a
           successful download (which throws out our script).
        (There may be other situations, but we haven't run into them.)

https://github.com/autolab/autolab-cli/blob/master/src/cmd/cmdimp.cpp

Activity

changed the title [-](autolab download) Exit code of 0 is still returned on error[/-] [+](autolab download) Exit code of 0 is returned on error[/+] on Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @victorhuangwq@damianhxy

        Issue actions

          (autolab download) Exit code of 0 is returned on error · Issue #18 · autolab/Autolab-CLI