fdo-rs / fido-device-onboard-rs

An implementation of the FIDO Device Onboard (FDO) spec written in Rust.
BSD 3-Clause "New" or "Revised" License
56 stars 31 forks source link

chore: fix require error with commitlint #636

Closed miabbott closed 4 months ago

miabbott commented 4 months ago

Changed the commitlint config file to use a dynamic import of commitlint/esnure and updated the function to await the promise of the import.

(This code was generated by ChatGPT and appears to fix the error with using require('@commitlint/ensure'))

Closes: #633