Skip to content

Commit 73e99a4

Browse files
ehelmsclaude
andcommitted
Fix null pointer access in submit destructuring
Add null fallback to scheduleValue destructuring assignment to prevent null pointer exceptions when scheduleValue is null or undefined. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 5859b5b commit 73e99a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack/JobWizard/submit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const submit = ({
2424
startsBefore,
2525
ends,
2626
purpose,
27-
} = scheduleValue;
27+
} = scheduleValue || {};
2828
const {
2929
sshUser,
3030
effectiveUserValue,

0 commit comments

Comments
 (0)