Skip to content

Conversation

@amyschoen
Copy link
Collaborator

Deleting old student repos was no longer working with the refactor. This fix works for me. I pulled in some of the newer functions and the HTTPie library.

Copy link
Contributor

@parkerbxyz parkerbxyz left a comment

Choose a reason for hiding this comment

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

Thanks for your contributions, as always, @amyschoen! ✨

@parkerbxyz
Copy link
Contributor

parkerbxyz commented Apr 6, 2022

I also recommend updating the description on line 3 to be more clear about what this script does:

@amyschoen
Copy link
Collaborator Author

@parkerbxyz, I did not know that function is technically less correct. Do we want to remove it everywhere and add that check to the linter? I just followed the same format that was elsewhere in the code.

I didn't modify the comment, but I'll get that fixed up. I'll wait on your answer for the script changes.

@parkerbxyz
Copy link
Contributor

parkerbxyz commented Apr 6, 2022

Do we want to remove it everywhere and add that check to the linter? I just followed the same format that was elsewhere in the code.

I’ve just been doing it as I’ve refactored specific scripts. Here are the scripts that have been refactored and no longer contain the function syntax:

I wouldn’t worry about removing the syntax from the other scripts unless/until we have other changes to make to them. It has actually helped me keep track of which scripts have been refactored and which still need some attention.

@amyschoen
Copy link
Collaborator Author

ask isn't refactored yet, but i see your point. I'll get this fixed up. I still think we should add the check to the linter since it'll only flag this in modified scripts.

Co-authored-by: Parker Brown <[email protected]>
@parkerbxyz parkerbxyz linked an issue Apr 11, 2022 that may be closed by this pull request
@amyschoen
Copy link
Collaborator Author

Thanks for the clean up @parkerbxyz. My day job got hectic, so I never quite circled back to fix this.

Copy link

@yosselin-babel yosselin-babel left a comment

Choose a reason for hiding this comment

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

li

Copy link

@yosselin-babel yosselin-babel left a comment

Choose a reason for hiding this comment

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

l

@amyschoen
Copy link
Collaborator Author

@parkerbxyz are we good to merge this one? Someone leaving junk comments made me realize this was still active. Looks like my permissions got bumped up because I now have the ability to merge, but I don't want to screw up any of your internal processes.

Copy link

@yosselin-babel yosselin-babel left a comment

Choose a reason for hiding this comment

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

listo

@parkerbxyz
Copy link
Contributor

@amyschoen Go ahead and merge whenever you’re ready. 🙂

@amyschoen amyschoen merged commit 0512ffa into main May 31, 2022
@amyschoen amyschoen deleted the fix_cleanup branch May 31, 2022 18:29
@amyschoen
Copy link
Collaborator Author

🎉 My first merge to the repo. 😀

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.

Cleanup script not working

4 participants