chore: add auth path getter too
This commit is contained in:
@@ -14,6 +14,10 @@ export function getOrchestratorDir(): string {
|
|||||||
return join(piDir, "orchestrator");
|
return join(piDir, "orchestrator");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function getAuthPath(): string {
|
||||||
|
return join(getOrchestratorDir(), "auth.json");
|
||||||
|
}
|
||||||
|
|
||||||
export function getMachinePath(): string {
|
export function getMachinePath(): string {
|
||||||
return join(getOrchestratorDir(), "machine.json");
|
return join(getOrchestratorDir(), "machine.json");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user