Skip to content

craft-hub / applyProjectDescriptionChanges

Function: applyProjectDescriptionChanges() ​

applyProjectDescriptionChanges(projectPath, changes, expectedRevision): Promise<ProjectDescriptionApplication>

Defined in: packages/craft-hub/src/config.ts:146

Atomically merge reviewed descriptions while preserving comments and extension fields.

Parameters ​

projectPath ​

string

changes ​

ProjectDescriptionChange[]

expectedRevision ​

string

Returns ​

Promise<ProjectDescriptionApplication>

Released under the MIT License.