Skip to content

Handle non-zip files correctly#10

Merged
abutterf merged 1 commit intoinstructure:masterfrom
javawizard:non-zip-files
Mar 17, 2015
Merged

Handle non-zip files correctly#10
abutterf merged 1 commit intoinstructure:masterfrom
javawizard:non-zip-files

Conversation

@javawizard
Copy link

No description provided.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I guess the ordering of this just doesn't make logical sense to me. First we check whether the zip file is an invalid scorm package and then we check whether the zip file is really a zip file. Is there a good reason we are doing things this way?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not particularly - I just discovered the checks that were needed in that order. The checks could be ordered either way. I'm fine reordering them if you think it'd make more logical sense.

@abutterf
Copy link

Looks good to me :shipit:

abutterf pushed a commit that referenced this pull request Mar 17, 2015
Handle non-zip files correctly round 2
@abutterf abutterf merged commit 7b78fc6 into instructure:master Mar 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments