-
Notifications
You must be signed in to change notification settings - Fork 846
fix: CNTK export images bug fix #789
Conversation
| */ | ||
| private ensureBackwardsCompatibility(project: IProject) { | ||
| if (project.version === "2.0.0") { | ||
| const projectVersion = project.version.toLowerCase(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Handles case where user was using older -preview versions.
| }); | ||
| }); | ||
|
|
||
| const buffer = await HtmlFileReader.getAssetArray(assetMetadata.asset); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The HtmlFileReader updates the incoming asset and appends a .jpg to the name. Not the best practice but it's consistent with the other exporters.
Codecov Report
@@ Coverage Diff @@
## develop #789 +/- ##
==========================================
+ Coverage 87.9% 87.9% +<.01%
==========================================
Files 129 129
Lines 4844 4845 +1
Branches 922 922
==========================================
+ Hits 4258 4259 +1
Misses 584 584
Partials 2 2
Continue to review full report at Codecov.
|
|
👍 |
tbarlow12
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes an issue where the images exported out of a video file were missing file extension for video projects.
author Wallace Breza <[email protected]> 1556573964 -0700 committer Elizabeth Halper <[email protected]> 1566326008 -0700 parent e4ee4cd author Wallace Breza <[email protected]> 1556573964 -0700 committer Elizabeth Halper <[email protected]> 1566326007 -0700 parent e4ee4cd author Wallace Breza <[email protected]> 1556573964 -0700 committer Elizabeth Halper <[email protected]> 1566326004 -0700 parent e4ee4cd author Wallace Breza <[email protected]> 1556573964 -0700 committer Elizabeth Halper <[email protected]> 1566325986 -0700 parent e4ee4cd author Wallace Breza <[email protected]> 1556573964 -0700 committer Elizabeth Halper <[email protected]> 1566325973 -0700 Release 2.1.0 (microsoft#790) Updates package version and changelog for 2.1.0 release changed line refactor: Remove editor footer Dummy commit to kick off build again doc: Add bug & feature templates (microsoft#780) Adds bug and feature github templates Create CODE_OF_CONDUCT.md (microsoft#779) Adds code of conduct docs: updates to readme and changelog (microsoft#781) Minor updates and corrections to the main readme and changelog. fix: Fix display of tag color picker (microsoft#782) Resolves issue of tag color picker not being shown on alt-click or color-click + edit button. Also adds several tests for increased test coverage of tagInput.tsx feat: Add CSV Exporter (microsoft#757) Adds CSV export provider fix: change method for alloc string to buffer (microsoft#777) String.length is not appropriate for calculating buffer size when non-alphabet letter is included in content. Change the method Buffer.alloc to Buffer.from as directed by the nodejs document. fix: Updates backwards compat & fixes cntk export image bug (microsoft#789) Fixes an issue where the images exported out of a video file were missing file extension for video projects. Release 2.1.0 (microsoft#790) Updates package version and changelog for 2.1.0 release changed line rebase upstream dev
Fixes an issue where the images exported out of a video file were missing file extension for video projects.