Skip to content

FIO-7615: Add option to migrate pdf files to copy and migrate commands#79

Merged
brendanbond merged 5 commits into
masterfrom
feat/FIO-7615_cli_tool_migrate_pdfs
Feb 25, 2025
Merged

FIO-7615: Add option to migrate pdf files to copy and migrate commands#79
brendanbond merged 5 commits into
masterfrom
feat/FIO-7615_cli_tool_migrate_pdfs

Conversation

@mikekotikov

@mikekotikov mikekotikov commented Nov 14, 2024

Copy link
Copy Markdown
Contributor

Comment thread src/copy.js Outdated
url: src
}).then(({body: form}) => {
copyComponents(form, cb);
}).then(async({body: form}) => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is a minor issue but I don't love mixing modalities here - can we either use all async/await or stick with promise chaining here? I think if it were me I'd stick with promise chaining, because refactoring this file (and potentially others) to async/await would be a lot of work, whereas it's relatively clean and easy to use promise chaining here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done

@brendanbond
brendanbond merged commit c8b97b7 into master Feb 25, 2025
@brendanbond
brendanbond deleted the feat/FIO-7615_cli_tool_migrate_pdfs branch February 25, 2025 13:27
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