Skip to content

Commit 2f2fb7d

Browse files
author
Ludovic TOURMAN
committed
Fix test and typo
1 parent 1182a1e commit 2f2fb7d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/build-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ jobs:
246246
inputs: >-
247247
{
248248
"run-name": "${{ env.RUN_NAME }}",
249-
"environment": "${{ matrix.environment }}",
249+
"environment": "${{ matrix.environment }}"
250250
}
251251
continue-on-error: true
252252
- uses: nick-invision/assert-action@v1

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9864,7 +9864,7 @@ function parse(inputsJson) {
98649864
return JSON.parse(inputsJson);
98659865
}
98669866
catch (e) {
9867-
throw new Error(`Failed to parse 'inputs' parameter. Muse be a valid JSON.\nCause: ${e}`);
9867+
throw new Error(`Failed to parse 'inputs' parameter. Must be a valid JSON.\nCause: ${e}`);
98689868
}
98699869
}
98709870
return {};

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function parse(inputsJson: string) {
2222
try {
2323
return JSON.parse(inputsJson);
2424
} catch(e) {
25-
throw new Error(`Failed to parse 'inputs' parameter. Muse be a valid JSON.\nCause: ${e}`)
25+
throw new Error(`Failed to parse 'inputs' parameter. Must be a valid JSON.\nCause: ${e}`)
2626
}
2727
}
2828
return {}

0 commit comments

Comments
 (0)