Skip to content

Conversation

@sreecharan-desu
Copy link

This PR introduces a few minor cleanups to the fxa-auth-server package:

  • Fix Typo: Corrected 'seperately' to 'separately' in oauth/api.js test description.
  • Update Deprecated FS Method: Replaced the deprecated rmdirSync (with recursive option) with rmSync in the Sass compilation script (sass-compile-files.ts), which is the recommended approach in modern Node.js versions.
  • Improve Error Handling: Added a try-catch block in the Sass compilation process to ensure errors during rendering are logged properly and file writing is skipped if rendering fails.

These changes are maintaining the existing behavior while improving code quality and removing deprecation warnings.

* Fix typo 'seperately' -> 'separately' in oauth api test
* Replace deprecated rmdirSync with rmSync in sass compiler script
* Improve error handling in sass compiler script
@sreecharan-desu sreecharan-desu requested a review from a team as a code owner January 25, 2026 14:05
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.

1 participant