mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add a few missing folders to be linted.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
1 parent
1477bb8274
commit
0b182ccf6f
29 files changed
+376
-374
No files matched your search
@@ -4,7 +4,7 @@ const AppPaths: Partial<Record<NodeJS.Platform, string>> = {
|
||||
"win32": "./dist/win-unpacked/Lens.exe",
|
||||
"linux": "./dist/linux-unpacked/kontena-lens",
|
||||
"darwin": "./dist/mac/Lens.app/Contents/MacOS/Lens",
|
||||
}
|
||||
};
|
||||
|
||||
export function setup(): Application {
|
||||
return new Application({
|
||||
@@ -16,16 +16,16 @@ export function setup(): Application {
|
||||
env: {
|
||||
CICD: "true"
|
||||
}
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
export async function tearDown(app: Application) {
|
||||
let mpid: any = app.mainProcess.pid
|
||||
let pid = await mpid()
|
||||
await app.stop()
|
||||
const mpid: any = app.mainProcess.pid;
|
||||
const pid = await mpid();
|
||||
await app.stop();
|
||||
try {
|
||||
process.kill(pid, "SIGKILL");
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user