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

feat: change dependency for process_cwd #1001

Merged
merged 5 commits into from
Jan 13, 2022
Merged

feat: change dependency for process_cwd #1001

merged 5 commits into from
Jan 13, 2022

Conversation

jaeheonji
Copy link
Member

@jaeheonji jaeheonji commented Jan 10, 2022

This issue related the darwin-libproc dependency.

The darwin-libproc library has not been updated for a long time, including dependency issues.
(reference: heim-rs/darwin-libproc#3 and current problem is similar to this: #953 (comment))

So this PR simplifies the get_cwd function while using the new library sysinfo.

EDIT: During the E2E test, an error related to detach_and_attach_session() continued to occur, so I looked at the snapshot data and the actual app operation. The operation and the snapshot data match, but the test case seems to be inconsistent, so I modified it. But modifying test cases should always be done with caution. So, please let me know if this fix is ​​wrong.

@jaeheonji jaeheonji marked this pull request as ready for review January 11, 2022 09:13
@jaeheonji jaeheonji marked this pull request as draft January 11, 2022 09:30
@jaeheonji jaeheonji marked this pull request as ready for review January 11, 2022 17:23
Copy link
Member

@imsnif imsnif left a comment

Choose a reason for hiding this comment

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

@jaeheonji - this looks good! I'm not sure what caused the behaviour change with the tests... but if it passes consistently now, it's fine. I think it's only about which pane is focused on attach, which doesn't make a big difference. You can merge this whenever you feel ready.

@jaeheonji jaeheonji merged commit 65a12c0 into zellij-org:main Jan 13, 2022
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