mirror of https://github.com/aminya/setup-cpp
fix: ignore graphviz installation error on windows
This commit is contained in:
parent
3ff2184d6c
commit
da57a9205b
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -32,7 +32,11 @@ export async function setupDoxygen(version: string, setupDir: string, arch: stri
|
||||||
switch (process.platform) {
|
switch (process.platform) {
|
||||||
case "win32": {
|
case "win32": {
|
||||||
await setupChocoPack("doxygen.install", version)
|
await setupChocoPack("doxygen.install", version)
|
||||||
|
try {
|
||||||
await setupChocoPack("graphviz", undefined)
|
await setupChocoPack("graphviz", undefined)
|
||||||
|
} catch (err) {
|
||||||
|
warning(`${err}`)
|
||||||
|
}
|
||||||
const binDir = activateWinDoxygen()
|
const binDir = activateWinDoxygen()
|
||||||
return { binDir }
|
return { binDir }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue