Skip to content

Commit

Permalink
fix duplicate video record log
Browse files Browse the repository at this point in the history
  • Loading branch information
kuceb committed Nov 21, 2019
1 parent 1da0942 commit 9360d7e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/server/lib/video_capture.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,10 @@ module.exports = {

progressed = utils.timemarkToSeconds(progress.timemark)

onProgress(progressed / total)
percent = progressed / total
if percent < 1
onProgress(percent)


.on "error", (err, stdout, stderr) ->
debug("compression errored: %o", { error: err.message, stdout, stderr })
Expand Down

1 comment on commit 9360d7e

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 9360d7e Nov 21, 2019

Choose a reason for hiding this comment

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

Circle has built the linux x64 version of the Test Runner.

You can install this pre-release platform-specific build using instructions at https://on.cypress.io/installing-cypress#Install-pre-release-version.

You will need to use custom CYPRESS_INSTALL_BINARY url and install Cypress using an url instead of the version.

export CYPRESS_INSTALL_BINARY=https://cdn.cypress.io/beta/binary/3.7.0/linux-x64/circle-issue-1096-firefox-support-9360d7e3ecc141421f9e05ddd14b7e8caf654939-196127/cypress.zip
npm install https://cdn.cypress.io/beta/npm/3.7.0/circle-issue-1096-firefox-support-9360d7e3ecc141421f9e05ddd14b7e8caf654939-196124/cypress.tgz

Please sign in to comment.