diff --git a/buildDocs/build.gradle.kts b/buildDocs/build.gradle.kts index 32f0f633..a6851c20 100644 --- a/buildDocs/build.gradle.kts +++ b/buildDocs/build.gradle.kts @@ -26,9 +26,9 @@ tasks { } } - // Install latest docfx + // Install or update to `docfx` val installDocfx = register("updateDocfx") { - commandLine("dotnet", "tool", "install", "-g", "docfx", "--version", "2.77.0") + commandLine("dotnet", "tool", "update", "-g", "docfx", "--version", "2.77.0") } val npmBuild by registering(NpmTask::class) {