fix: indentation
This commit is contained in:
parent
5e60ac1208
commit
602e55a94d
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue