youmd 0.13.7 → 0.13.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
Binary file
|
package/package.json
CHANGED
|
@@ -45,7 +45,7 @@ for (const artifact of manifest.artifacts) {
|
|
|
45
45
|
if (!artifact.candidateRevision) throw new Error(`${artifact.id}: candidateRevision is required for a new Living Vision Artifact`);
|
|
46
46
|
if (artifact.status === "accepted" && !artifact.lineage.acceptanceRef) throw new Error(`${artifact.id}: accepted artifacts require an attributable acceptanceRef`);
|
|
47
47
|
if (artifact.status !== "accepted" && artifact.lineage.acceptanceRef) throw new Error(`${artifact.id}: agents must not pre-populate acceptanceRef`);
|
|
48
|
-
for (const
|
|
48
|
+
for (const relative of Object.values(artifact.formats)) {
|
|
49
49
|
try { safeRepositoryFile(root, relative); }
|
|
50
50
|
catch (error) { throw new Error(`${artifact.id}: ${error.message}`); }
|
|
51
51
|
}
|