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:
parent
df5776e76d
commit
99947dbefd
|
@ -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 }}
|
||||
|
||||
|
|
Loading…
Reference in New Issue