Remove unnecessary optional chaining
This commit is contained in:
parent
40f70f96b1
commit
757fcd3d21
3 changed files with 3 additions and 3 deletions
2
lib/upload-lib.js
generated
2
lib/upload-lib.js
generated
|
|
@ -88,7 +88,7 @@ function createRunKey(run) {
|
||||||
version: run.tool?.driver?.version,
|
version: run.tool?.driver?.version,
|
||||||
semanticVersion: run.tool?.driver?.semanticVersion,
|
semanticVersion: run.tool?.driver?.semanticVersion,
|
||||||
guid: run.tool?.driver?.guid,
|
guid: run.tool?.driver?.guid,
|
||||||
automationId: run?.automationDetails?.id,
|
automationId: run.automationDetails?.id,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -94,7 +94,7 @@ function createRunKey(run: SarifRun): SarifRunKey {
|
||||||
version: run.tool?.driver?.version,
|
version: run.tool?.driver?.version,
|
||||||
semanticVersion: run.tool?.driver?.semanticVersion,
|
semanticVersion: run.tool?.driver?.semanticVersion,
|
||||||
guid: run.tool?.driver?.guid,
|
guid: run.tool?.driver?.guid,
|
||||||
automationId: run?.automationDetails?.id,
|
automationId: run.automationDetails?.id,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue