trim version string embedded in workflow (#1758)
This commit is contained in:
@@ -70,7 +70,7 @@ class WorkflowMetadataExtension {
|
|||||||
if (cnr_id === "comfy-core") return; // don't allow hijacking comfy-core name
|
if (cnr_id === "comfy-core") return; // don't allow hijacking comfy-core name
|
||||||
if (cnr_id) nodeProperties.cnr_id = cnr_id;
|
if (cnr_id) nodeProperties.cnr_id = cnr_id;
|
||||||
else nodeProperties.aux_id = aux_id;
|
else nodeProperties.aux_id = aux_id;
|
||||||
if (ver) nodeProperties.ver = ver;
|
if (ver) nodeProperties.ver = ver.trim();
|
||||||
} else if (["nodes", "comfy_extras"].includes(moduleType)) {
|
} else if (["nodes", "comfy_extras"].includes(moduleType)) {
|
||||||
nodeProperties.cnr_id = "comfy-core";
|
nodeProperties.cnr_id = "comfy-core";
|
||||||
nodeProperties.ver = this.comfyCoreVersion;
|
nodeProperties.ver = this.comfyCoreVersion;
|
||||||
|
|||||||
Reference in New Issue
Block a user