Skip to content
This repository has been archived by the owner on Apr 27, 2021. It is now read-only.

use last tab if multiple tabs found #15

Merged
merged 2 commits into from Feb 10, 2016

Conversation

paulirish
Copy link
Contributor

image

@paulirish
Copy link
Contributor Author

the rethrown error fixes the swallowed errors.

@@ -94,6 +95,8 @@ try {
strict: argv.strict
});
});

throw e;
Copy link
Contributor

Choose a reason for hiding this comment

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

If you always throw e we always exit with an error, right? I wonder if a better way is to only swallow if the error occurs because of the fs.stat call. Other than that we probably want to throw it.

@paullewis
Copy link
Contributor

Also tests fail. I guess the multi process one!

@paullewis
Copy link
Contributor

Actually, that test is todoooooo: https://github.com/GoogleChrome/node-big-rig/blob/master/test/bigrig_tests.js#L52 Well done me.

paullewis added a commit that referenced this pull request Feb 10, 2016
@paullewis paullewis merged commit 0230188 into googlearchive:master Feb 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants