Skip to content

Commit

Permalink
Fix Wi-Fi spelling (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolson authored Oct 27, 2023
1 parent 64a990a commit 122273d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ for (const [name, value] of Object.entries(Service)) {

const payload = {
name: service.constructor.name,
displayName: inflection.titleize(decamelize(service.constructor.name)).replace('Wi Fi', 'WiFi'),
displayName: inflection.titleize(decamelize(service.constructor.name)).replace('Wi Fi', 'Wi-Fi'),
UUID: service.UUID,
requiredCharacteristics: service.characteristics.map(x => x.UUID),
optionalCharacteristics: service.optionalCharacteristics.map(x => x.UUID),
Expand Down

0 comments on commit 122273d

Please sign in to comment.