Skip to content

Commit 3a13de2

Browse files
ZuhwaZuhwa
andauthored
Fix get deliverable for string value (#182)
Co-authored-by: Zuhwa <zuhwa@virtuals.io>
1 parent 2b0b8d6 commit 3a13de2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/acpJob.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class AcpJob {
144144

145145
const deliverable = await this.acpClient.getMemoContent(this._deliverable);
146146

147-
return tryParseJson<DeliverablePayload>(deliverable);
147+
return tryParseJson<DeliverablePayload>(deliverable) || deliverable;
148148
}
149149

150150
async createRequirement(content: string) {

0 commit comments

Comments
 (0)