Skip to content

Commit

Permalink
fix: release script
Browse files Browse the repository at this point in the history
  • Loading branch information
pviti committed Nov 30, 2023
1 parent f140689 commit 006a747
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"branches": [
{ "name": "main", "channel": "latest" },
"+([0-9])?(.{+([0-9]),x}).x",
{ "name": "beta", "prerelease": true },
{ "name": "sdk2", "channel": "sdk2", "prerelease": "beta" }
{ "name": "beta", "prerelease": true }
],
"plugins": [
"@semantic-release/commit-analyzer",
Expand Down
4 changes: 2 additions & 2 deletions src/static.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import type { CommerceLayerProvisioningClient, CommerceLayerInitConfig } from '.
/* Static functions */
export const CommerceLayerProvisioningStatic = {

resources: (): readonly string[] => {
return api.resourceList
resources: (sort?: boolean): readonly string[] => {
return sort? [ ...api.resourceList ].sort() : api.resourceList
},

isSdkError: (error: unknown): error is SdkError => {
Expand Down

0 comments on commit 006a747

Please sign in to comment.