File tree Expand file tree Collapse file tree
shared/packages/worker/src/worker/accessorHandlers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export class ATEMAccessorHandle<Metadata> extends GenericAccessorHandle<Metadata
4949 } )
5050
5151 this . accessor = arg . accessor
52- this . content = arg . content
52+ this . content = arg . content ?? { }
5353
5454 // Verify content data:
5555 if ( ! this . content . onlyContainerAccess ) {
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export class CorePackageInfoAccessorHandle<Metadata> extends GenericAccessorHand
4646 } )
4747
4848 this . accessor = arg . accessor
49- this . content = arg . content // not used by this class
49+ this . content = null // arg.content not used by this class
5050
5151 // Verify content data:
5252 if ( arg . workOptions . removeDelay && typeof arg . workOptions . removeDelay !== 'number' )
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ export class FileShareAccessorHandle<Metadata> extends GenericFileAccessorHandle
7979 type : FileShareAccessorHandle . type ,
8080 } )
8181 this . accessor = arg . accessor
82- this . content = arg . content
82+ this . content = arg . content ?? { }
8383 this . workOptions = arg . workOptions
8484 this . originalFolderPath = this . accessor . folderPath
8585 this . actualFolderPath = this . originalFolderPath // To be overwritten later
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ export class FTPAccessorHandle<Metadata> extends GenericAccessorHandle<Metadata>
5858 type : FTPAccessorHandle . type ,
5959 } )
6060 this . accessor = arg . accessor
61- this . content = arg . content
61+ this . content = arg . content ?? { }
6262 this . workOptions = arg . workOptions
6363
6464 if ( this . workOptions . removeDelay && typeof this . workOptions . removeDelay !== 'number' )
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export class HTTPAccessorHandle<Metadata> extends GenericAccessorHandle<Metadata
5050 type : HTTPAccessorHandle . type ,
5151 } )
5252 this . accessor = arg . accessor
53- this . content = arg . content
53+ this . content = arg . content ?? { }
5454 // this.workOptions = arg.workOptions
5555
5656 // Verify content data:
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ export class HTTPProxyAccessorHandle<Metadata> extends GenericAccessorHandle<Met
5353 type : HTTPProxyAccessorHandle . type ,
5454 } )
5555 this . accessor = arg . accessor
56- this . content = arg . content
56+ this . content = arg . content ?? { }
5757 this . workOptions = arg . workOptions
5858
5959 // Verify content data:
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ export class QuantelAccessorHandle<Metadata> extends GenericAccessorHandle<Metad
5858 } )
5959 this . accessor = arg . accessor
6060 this . workOptions = arg . workOptions
61- this . content = arg . content
61+ this . content = arg . content ?? { }
6262
6363 // Verify content data:
6464 if ( ! this . content . onlyContainerAccess ) {
You can’t perform that action at this time.
0 commit comments