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

Deploy using repository URL(fixes #58) #59

Merged

Conversation

HeeManSu
Copy link
Contributor

No description provided.

`cd ${dirPath} ; git ls-tree -r ${req.body.branch} --name-only; cd .. ; rm -r ${dirPath}`
);
// Clean up the cloned repository
await exec(`rm -r ${repoPath}`);
Copy link
Member

Choose a reason for hiding this comment

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

Please do this with standard nodejs API, the command is not cross platform.

Copy link
Member

Choose a reason for hiding this comment

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

Use this or it's async version:
https://stackoverflow.com/a/57866165

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed
780a47a

@viferga viferga marked this pull request as draft July 29, 2024 19:58
@viferga viferga marked this pull request as ready for review August 9, 2024 15:04
@viferga viferga merged commit b306612 into metacall:master Aug 9, 2024
1 check passed
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