Skip to content

Conversation

@pvaneck
Copy link
Contributor

@pvaneck pvaneck commented Jan 8, 2020

Fixed some minor issues in the image.ts file for tfjs-node.


This change is Reviewable

Copy link
Contributor

@kangyizhang kangyizhang left a comment

Choose a reason for hiding this comment

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

Thank you Paul for fixing this!

Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @pvaneck)


tfjs-node/src/image.ts, line 304 at r1 (raw file):

  } else {
    throw new Error(
        'Expected image (BMP, JPEG, PNG, or GIF), but got unsupported image type');

Can you split this into two lines? It exceeds maximum line length of 80.

@pvaneck
Copy link
Contributor Author

pvaneck commented Jan 8, 2020

@kangyizhang Done!

@kangyizhang kangyizhang merged commit d0988ee into tensorflow:master Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants