Commit 7a0c87c
committed
fix: use strict equality check for return code validation
Changed the condition from `!$ret` to `$ret === 0` to properly validate the return code. This uses strict equality to explicitly check if the return code is 0 (success), making the intent clearer and avoiding potential issues with truthy/falsy value coercion.1 parent 555018e commit 7a0c87c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1028 | 1028 | | |
1029 | 1029 | | |
1030 | 1030 | | |
1031 | | - | |
| 1031 | + | |
1032 | 1032 | | |
1033 | 1033 | | |
1034 | 1034 | | |
| |||
0 commit comments