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: correctly parse arguments for list --is-pack #194

Merged
merged 1 commit into from
Mar 23, 2020

Conversation

malept
Copy link
Member

@malept malept commented Mar 23, 2020

build(deps): upgrade commander to ^5.0.0

Fixes #186.

@malept malept requested a review from a team March 23, 2020 21:21
@@ -118,7 +118,7 @@ describe('command line interface', function () {
return assertAsarOutputMatches('l test/expected/packthis-unpack-dir.asar', 'test/expected/extractthis-filelist.txt')
})
it('should list files/dirs in archive with unpacked dirs & is-pack option', async () => {
return assertAsarOutputMatches('l test/expected/packthis-unpack-dir.asar --is-pack', 'test/expected/extractthis-filelist-with-option.txt')
return assertAsarOutputMatches('l --is-pack test/expected/packthis-unpack-dir.asar', 'test/expected/extractthis-filelist-with-option.txt')
Copy link
Member Author

Choose a reason for hiding this comment

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

Swapping the position of the flag shows the bug with commander 4.x.

@malept malept merged commit 3f243e2 into master Mar 23, 2020
@malept malept deleted the upgrade-commander-5 branch March 23, 2020 22:27
@electron-bot
Copy link

🎉 This PR is included in version 3.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

asar list may lose some output if it's writing to a pipe
3 participants