fix: drop TS annotation in the P2 acceptance runner
This commit is contained in:
@@ -968,7 +968,7 @@ function sameSet(left, right) {
|
|||||||
return JSON.stringify([...left].sort()) === JSON.stringify([...right].sort());
|
return JSON.stringify([...left].sort()) === JSON.stringify([...right].sort());
|
||||||
}
|
}
|
||||||
|
|
||||||
function realUserHome(): string | undefined {
|
function realUserHome() {
|
||||||
try {
|
try {
|
||||||
const output = execFileSync("bash", ["-lc", 'printf "%s" ~'], { encoding: "utf8" }).trim();
|
const output = execFileSync("bash", ["-lc", 'printf "%s" ~'], { encoding: "utf8" }).trim();
|
||||||
return output.length > 0 ? output : undefined;
|
return output.length > 0 ? output : undefined;
|
||||||
|
|||||||
Reference in New Issue
Block a user