1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-29 16:16:38 +00:00

CI: Fix support for latest codespell

(cherry picked from commit 7132627666)
This commit is contained in:
Rémi Verschelde
2024-07-05 13:24:57 +02:00
parent eb296c7f9c
commit 488757bd00
10 changed files with 12 additions and 12 deletions

View File

@@ -137,7 +137,7 @@ const GodotInputGamepads = {
const id = pad.id;
// Chrom* style: NAME (Vendor: xxxx Product: xxxx)
const exp1 = /vendor: ([0-9a-f]{4}) product: ([0-9a-f]{4})/i;
// Firefox/Safari style (safari may remove leading zeores)
// Firefox/Safari style (safari may remove leading zeroes)
const exp2 = /^([0-9a-f]+)-([0-9a-f]+)-/i;
let vendor = '';
let product = '';