mirror of
https://github.com/jason5ng32/MyIP.git
synced 2026-11-04 08:55:47 +00:00
Style: fix a misplaced guard comment and two quoting nits
The provider-id comment block sat above requireValidRecordType; move it back over requireValidProviderId. Also drop needless quote escapes in the resolver-check script and match the ui/ double-quote style in ButtonGroupSeparator. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f2df6e669d
commit
0a0a739edd
3 files changed
+5
-5
No files matched your search
@@ -25,7 +25,7 @@ export const ensureDigAvailable = async (exec = execFileAsync) => {
|
||||
if (error?.code === 'ENOENT') {
|
||||
throw new Error('The `dig` executable is required for DNS resolver checks; install dnsutils (Debian/Ubuntu) or bind (macOS).');
|
||||
}
|
||||
throw new Error(`Unable to run \'dig\': ${error instanceof Error ? error.message : String(error)}`);
|
||||
throw new Error(`Unable to run 'dig': ${error instanceof Error ? error.message : String(error)}`);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user