Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: windows paths #39

Merged
merged 1 commit into from
Sep 6, 2019
Merged

fix: windows paths #39

merged 1 commit into from
Sep 6, 2019

Conversation

brandonocasey
Copy link
Contributor

@brandonocasey brandonocasey commented Sep 5, 2019

We have to call basename after sanitize as sanitize normalizes the paths so that they match the current os's path separator. Without this windows style paths will write to the wrong file foo\\bar\\chunk.ts would write to foo/bar/chunk.ts rather than just chunk.ts

@brandonocasey brandonocasey changed the title fix: windows paths and test console error fix: windows paths Sep 5, 2019
@@ -24,12 +24,20 @@ const customError = function(errors) {

describe('walk-manifest', function() {
describe('walkPlaylist', function() {
/* eslint-disable no-console */
beforeEach(function() {
this.oldError = console.error;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We log errors about duplicate segments being downloaded, but its not an issue and we should prevent it from happening.

@brandonocasey brandonocasey merged commit ae14253 into master Sep 6, 2019
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