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

cmd/testscript: make -work actually work #125

Merged
merged 1 commit into from Jan 26, 2021

Conversation

myitcv
Copy link
Collaborator

@myitcv myitcv commented Jan 21, 2021

Turns out that we were only printing the cmd/testscript created work
directory for an argument. We also need to print (and preserve) the
working directory that is created by testscript itself when running the
script.

Combine this with a bit of light refactoring to improve readability.

@myitcv myitcv requested a review from mvdan January 21, 2021 09:47
Copy link
Collaborator

@mvdan mvdan left a comment

Choose a reason for hiding this comment

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

nice work 😉

cmd/testscript/main.go Outdated Show resolved Hide resolved
Turns out that we were only printing the cmd/testscript created work
directory for an argument. We also need to print (and preserve) the
working directory that is created by testscript itself when running the
script.

Combine this with a bit of light refactoring to improve readability.
@myitcv myitcv force-pushed the cmd_testscript_make_work_work branch from 4a17675 to 03b5717 Compare January 26, 2021 12:48
@myitcv
Copy link
Collaborator Author

myitcv commented Jan 26, 2021

nice work 😉

Thanks. Together we can work this out.

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.

None yet

2 participants