mirror of https://github.com/aminya/setup-cpp
test: ignore nala-legacy installation error
This commit is contained in:
parent
7fba762e3e
commit
87f57022f5
|
@ -17,6 +17,12 @@ describe("setup-nala", () => {
|
||||||
afterAll(() => {
|
afterAll(() => {
|
||||||
// remove nala to run the rest of the tests with apt-get
|
// remove nala to run the rest of the tests with apt-get
|
||||||
execRootSync("apt-get", ["remove", "-y", "nala"])
|
execRootSync("apt-get", ["remove", "-y", "nala"])
|
||||||
|
|
||||||
|
try {
|
||||||
execRootSync("apt-get", ["remove", "-y", "nala-legacy"])
|
execRootSync("apt-get", ["remove", "-y", "nala-legacy"])
|
||||||
|
} catch (err) {
|
||||||
|
// ignore
|
||||||
|
console.error(err)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue