Refactor spawn_process fn to handle spawn error

This commit modifies the spawn_process function to explicitly return a Result type, handling the error of the spawn() method. This change improves the readability of the error handling and makes it more idiomatic in Rust. As a secondary correction, it fixes a typo in a print statement.
This commit is contained in:
Ian Wijma 2023-11-21 00:34:53 +11:00
parent df5776e76d
commit 99947dbefd
1 changed files with 1 additions and 3 deletions

View File

@ -30,7 +30,5 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: Binary
path: |
${{ steps.compile.outputs.BUILT_ARCHIVE }}
${{ steps.compile.outputs.BUILT_CHECKSUM }}
path: ${{ steps.compile.outputs.BUILT_ARCHIVE }}