diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 42051a1..09e2763 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -24,5 +24,5 @@ jobs: path: .cache restore-keys: | mkdocs-material- - - run: pip install mkdocs-material + - run: cd docs && pip install -r requirements.txt - run: cd docs && mkdocs gh-deploy --force \ No newline at end of file diff --git a/pkg/rclone/killed_windows.go b/pkg/rclone/killed_windows.go index aab6d8c..d9967cd 100644 --- a/pkg/rclone/killed_windows.go +++ b/pkg/rclone/killed_windows.go @@ -18,7 +18,7 @@ func WasHardTerminated(err error) bool { return false } // No Signaled() on Windows; consider "hard terminated" if not success. - return ws.ExitCode() != 0 + return ws.ExitStatus() != 0 // Use the ExitStatus() method } // ExitCode returns the process exit code when available. @@ -31,5 +31,5 @@ func ExitCode(err error) (int, bool) { if !ok { return 0, false } - return ws.ExitCode(), true + return ws.ExitStatus(), true // Use the ExitStatus() method }