fix: indentation
This commit is contained in:
parent
a993908ebc
commit
8fdea07fbd
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user