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(() => {
|
||||
// remove nala to run the rest of the tests with apt-get
|
||||
execRootSync("apt-get", ["remove", "-y", "nala"])
|
||||
execRootSync("apt-get", ["remove", "-y", "nala-legacy"])
|
||||
|
||||
try {
|
||||
execRootSync("apt-get", ["remove", "-y", "nala-legacy"])
|
||||
} catch (err) {
|
||||
// ignore
|
||||
console.error(err)
|
||||
}
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue