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

PROD-1694 Store pcap slices in temp dir #528

Merged
merged 2 commits into from
Apr 1, 2020
Merged

Conversation

jameskerr
Copy link
Member

Instead of the downloads directory, use app.getPath("temp) which gets a temp directory in a platform specific way.

I've verified this works and keeps the downloads directory clean. It is also possible to "Save As" in wireshark if a particular slice is interesting.

@jameskerr jameskerr requested review from mikesbrown and a team April 1, 2020 00:13
@@ -276,8 +275,6 @@ export const waitUntilDownloadFinished = async (app: Application) =>
)
})

export const pcapsDir = () => downloadsDir()
Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah this is fine we'll come up with another way to handle this.

@jameskerr
Copy link
Member Author

Since the failing CI step relates to the node_modules cache service being unavailable, I'm gonna merge this.

@jameskerr jameskerr merged commit 9e2aae4 into master Apr 1, 2020
@jameskerr jameskerr deleted the store-pcap-slices-in-temp branch April 1, 2020 19:42
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.

3 participants