Skip to content

Commit 62909f0

Browse files
authored
Merge pull request #1108 from salesforcecli/sh/update-copywright-year
update copywright year @W-20906352
2 parents 247988c + 049153f commit 62909f0

81 files changed

Lines changed: 128 additions & 131 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Apache License Version 2.0
22

3-
Copyright (c) 2025 Salesforce, Inc.
3+
Copyright (c) 2026 Salesforce, Inc.
44
All rights reserved.
55

66
Apache License

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"bugs": "https://github.com/forcedotcom/cli/issues",
77
"dependencies": {
88
"@oclif/core": "^4",
9-
"@salesforce/core": "^8.24.0",
9+
"@salesforce/core": "^8.24.2",
1010
"@salesforce/kit": "^3.2.4",
11-
"@salesforce/packaging": "^4.18.7",
11+
"@salesforce/packaging": "^4.18.8",
1212
"@salesforce/sf-plugins-core": "^12.2.6",
1313
"chalk": "^5.6.2"
1414
},

src/commands/package/bundle/create.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2025, Salesforce, Inc.
2+
* Copyright 2026, Salesforce, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/commands/package/bundle/delete.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2025, Salesforce, Inc.
2+
* Copyright 2026, Salesforce, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/commands/package/bundle/install.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2025, Salesforce, Inc.
2+
* Copyright 2026, Salesforce, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -129,13 +129,18 @@ export class PackageBundlesInstall extends SfCommand<BundleSObjects.PkgBundleVer
129129

130130
switch (result.InstallStatus) {
131131
case BundleSObjects.PkgBundleVersionInstallReqStatus.error: {
132-
const errorText = result.ValidationError
133-
|| `Bundle installation failed. Run 'sf package bundle install report -i ${result.Id} -o ${targetOrg.getUsername() ?? 'targetOrg'}' for more details.`;
132+
const errorText =
133+
result.ValidationError ||
134+
`Bundle installation failed. Run 'sf package bundle install report -i ${result.Id} -o ${
135+
targetOrg.getUsername() ?? 'targetOrg'
136+
}' for more details.`;
134137
throw messages.createError('bundleInstallError', [errorText]);
135138
}
136139
case BundleSObjects.PkgBundleVersionInstallReqStatus.success: {
137140
const bundleVersionId = result.PackageBundleVersionId || flags.bundle;
138-
this.log(`Successfully installed bundle version ${bundleVersionId} to ${targetOrg.getUsername() ?? 'target org'}`);
141+
this.log(
142+
`Successfully installed bundle version ${bundleVersionId} to ${targetOrg.getUsername() ?? 'target org'}`
143+
);
139144
break;
140145
}
141146
default:

src/commands/package/bundle/install/list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2025, Salesforce, Inc.
2+
* Copyright 2026, Salesforce, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/commands/package/bundle/install/report.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2025, Salesforce, Inc.
2+
* Copyright 2026, Salesforce, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/commands/package/bundle/list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2025, Salesforce, Inc.
2+
* Copyright 2026, Salesforce, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/commands/package/bundle/version/create.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2025, Salesforce, Inc.
2+
* Copyright 2026, Salesforce, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -69,7 +69,6 @@ export class PackageBundlesCreate extends SfCommand<BundleSObjects.PackageBundle
6969
}),
7070
};
7171

72-
7372
public async run(): Promise<BundleSObjects.PackageBundleVersionCreateRequestResult> {
7473
const { flags } = await this.parse(PackageBundlesCreate);
7574

@@ -98,7 +97,10 @@ export class PackageBundlesCreate extends SfCommand<BundleSObjects.PackageBundle
9897
// no async methods
9998
// eslint-disable-next-line @typescript-eslint/require-await
10099
async (data: BundleSObjects.PackageBundleVersionCreateRequestResult & { remainingWaitTime: Duration }) => {
101-
if (data.RequestStatus !== BundleSObjects.PkgBundleVersionCreateReqStatus.success && data.RequestStatus !== BundleSObjects.PkgBundleVersionCreateReqStatus.error) {
100+
if (
101+
data.RequestStatus !== BundleSObjects.PkgBundleVersionCreateReqStatus.success &&
102+
data.RequestStatus !== BundleSObjects.PkgBundleVersionCreateReqStatus.error
103+
) {
102104
const status = messages.getMessage('bundleVersionCreateWaitingStatus', [
103105
data.remainingWaitTime.minutes,
104106
data.RequestStatus,
@@ -123,7 +125,7 @@ export class PackageBundlesCreate extends SfCommand<BundleSObjects.PackageBundle
123125
result = await PackageBundleVersion.create({
124126
...options,
125127
...(flags.wait && flags.wait > 0
126-
? { polling: { timeout: Duration.minutes(flags.wait), frequency: Duration.seconds(5)}}
128+
? { polling: { timeout: Duration.minutes(flags.wait), frequency: Duration.seconds(5) } }
127129
: undefined),
128130
});
129131
} catch (error) {
@@ -152,9 +154,8 @@ export class PackageBundlesCreate extends SfCommand<BundleSObjects.PackageBundle
152154
errorMessages.push(result.ValidationError);
153155
}
154156

155-
const errorText = errorMessages.length > 0
156-
? errorMessages.join('\n')
157-
: 'Unknown error occurred during bundle version creation';
157+
const errorText =
158+
errorMessages.length > 0 ? errorMessages.join('\n') : 'Unknown error occurred during bundle version creation';
158159

159160
throw messages.createError('multipleErrors', [errorText]);
160161
}
@@ -169,5 +170,4 @@ export class PackageBundlesCreate extends SfCommand<BundleSObjects.PackageBundle
169170
}
170171
return result;
171172
}
172-
173173
}

src/commands/package/bundle/version/create/list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2025, Salesforce, Inc.
2+
* Copyright 2026, Salesforce, Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)