Skip to content

Commit f964838

Browse files
committed
fix: null check for OSUpload response
1 parent b5a0dda commit f964838

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/migration/omniscript.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ export class OmniScriptMigrationTool extends BaseMigrationTool implements Migrat
974974
continue;
975975
}
976976

977-
if (osUploadResponse.success) {
977+
if (osUploadResponse?.success) {
978978
// Fix errors
979979

980980
osUploadResponse.warnings = osUploadResponse.warnings || [];

0 commit comments

Comments
 (0)