Skip to content

Commit 9be8694

Browse files
committed
Fix the no-useless-escape eslint error introduced by the last commit
1 parent 87be1a2 commit 9be8694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/commands/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ export function strToBinary(d) {
322322
return new Uint8Array(buffer.Buffer.from(d, "binary").buffer);
323323
}
324324

325-
const hostnameVerifier = new RegExp("^([0-9A-Za-z_.\-]+)$");
325+
const hostnameVerifier = new RegExp("^([0-9A-Za-z_.-]+)$");
326326

327327
/**
328328
* Parse hostname

0 commit comments

Comments
 (0)