Skip to content

chore: Fixes to update.sh#58

Merged
MaciekPytel merged 1 commit intomainfrom
fix-generation
Feb 14, 2025
Merged

chore: Fixes to update.sh#58
MaciekPytel merged 1 commit intomainfrom
fix-generation

Conversation

@MaciekPytel
Copy link
Contributor

  • Pin version of api-generator to make generated files consistent between different dev environments.
  • Run pre-commit hook to re-add license as part of the script. Without that the script generates massive noise and it is very hard to guess that you need to commit all those unwanted changes in order to get rid of them.

@MaciekPytel MaciekPytel changed the title Fixes to update.sh chore: Fixes to update.sh Feb 14, 2025
git checkout HEAD -- $entry
done

pre-commit run insert-license --all-files
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
pre-commit run insert-license --all-files
pre-commit run --all-files

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

 * Pin version of api-generator to make generated files consistent
   between different dev environments.
 * Run pre-commit hook to re-add license as part of the script.
   Without that the script generates massive noise and it is
   very hard to guess that you need to commit all those unwanted
   changes in order to get rid of them.
@MaciekPytel MaciekPytel merged commit bddb002 into main Feb 14, 2025
6 checks passed
@MaciekPytel MaciekPytel deleted the fix-generation branch February 14, 2025 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet