We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 367aaf6 commit 0f4ed64Copy full SHA for 0f4ed64
src/package/package.ts
@@ -304,7 +304,7 @@ export class Package {
304
* @param force force a refresh of the package data
305
*/
306
public async getPackageData(force = false): Promise<PackagingSObjects.Package2 | undefined> {
307
- if (!this.packageData ?? force) {
+ if (!this.packageData || force) {
308
this.packageData = (await this.options.connection.tooling
309
.sobject('Package2')
310
.retrieve(this.packageId)) as PackagingSObjects.Package2;
0 commit comments