Streamline management of API collections #1
@@ -479,7 +479,7 @@ export function buildRequestContent(request, requestName, requestConfig = {}, do
|
|||||||
if (commentedVariableDefinitions.length > 0) {
|
if (commentedVariableDefinitions.length > 0) {
|
||||||
lines.push(`# Other variables for ${requestName}`);
|
lines.push(`# Other variables for ${requestName}`);
|
||||||
for (const variable of commentedVariableDefinitions) {
|
for (const variable of commentedVariableDefinitions) {
|
||||||
lines.push(`# ${sanitizeVarName(variable.name)}${VARIABLE_NAME_VALUE_SEPARATOR}${formatVariableValue(variable.value, { renderValue })}`);
|
lines.push(`# @${sanitizeVarName(variable.name)}${VARIABLE_NAME_VALUE_SEPARATOR}${formatVariableValue(variable.value, { renderValue })}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user