mirror of
https://github.com/tale/headplane.git
synced 2026-07-28 00:28:56 +00:00
fix: indentation
This commit is contained in:
committed by
Aarnav Tale
parent
5e60ac1208
commit
602e55a94d
@@ -1,3 +1,3 @@
|
||||
export function isHeadscaleServeCmd(cmdline: string): boolean {
|
||||
return cmdline.includes('headscale') && cmdline.includes("serve");
|
||||
return cmdline.includes('headscale') && cmdline.includes("serve");
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ export default class ProcIntegration extends Integration<T> {
|
||||
try {
|
||||
log.debug('config', 'Reading %s', path);
|
||||
const data = await readFile(path, 'utf8');
|
||||
if (isHeadscaleServeCmd(data)) {
|
||||
if (isHeadscaleServeCmd(data)) {
|
||||
return pid;
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user