Skip to content

Conversation

@dduponchel
Copy link
Contributor

The pull request #350 introduced a bug but the automated tests didn't
catch it:

ReferenceError: Blob is not defined
at /home/travis/build/Stuk/jszip/lib/utils.js:425:38
at Array.1 (/home/travis/build/Stuk/jszip/node_modules/lie/lib/index.js:88:21)
at nextTick (/home/travis/build/Stuk/jszip/node_modules/lie/node_modules/immediate/lib/index.js:61:18)
at process._tickCallback (node.js:458:13)

The command "npm run $COMMAND" exited with 0.

Done. Your build exited with 0.

This commit fixes:

  • the bug: check if Blobs are supported before actually using them
  • the build: if an uncaught error/rejection happens, exit with a non
    zero code.

The pull request Stuk#350 introduced a bug but the automated tests didn't
catch it:

> ReferenceError: Blob is not defined
>     at /home/travis/build/Stuk/jszip/lib/utils.js:425:38
>     at Array.1 (/home/travis/build/Stuk/jszip/node_modules/lie/lib/index.js:88:21)
>     at nextTick (/home/travis/build/Stuk/jszip/node_modules/lie/node_modules/immediate/lib/index.js:61:18)
>     at process._tickCallback (node.js:458:13)
>
> The command "npm run $COMMAND" exited with 0.
>
> Done. Your build exited with 0.

This commit fixes:
- the bug: check if Blobs are supported before actually using them
- the build: if an uncaught error/rejection happens, exit with a non
  zero code.
@dduponchel dduponchel merged commit 845ba5e into Stuk:master Oct 1, 2016
@dduponchel dduponchel deleted the fix_build branch October 1, 2016 16:40
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.

1 participant