@4s1/conventional-commit-creator 3.0.0-dev.0 → 3.0.0-dev.1
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.
- package/dist/index.js +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -171,10 +171,13 @@ async function createMsg(data, template) {
|
|
|
171
171
|
msg = msg.replace('{issue}', issueText);
|
|
172
172
|
const issue2Text = `${template.pre_issue2 ?? ''}${issue}${template.post_issue2 ?? ''}`;
|
|
173
173
|
msg = msg.replace('{issue2}', issue2Text);
|
|
174
|
+
const issue3Text = `${template.pre_issue3 ?? ''}${issue}${template.post_issue3 ?? ''}`;
|
|
175
|
+
msg = msg.replace('{issue3}', issue3Text);
|
|
174
176
|
}
|
|
175
177
|
else {
|
|
176
178
|
msg = msg.replace('{issue}', '');
|
|
177
179
|
msg = msg.replace('{issue2}', '');
|
|
180
|
+
msg = msg.replace('{issue3}', '');
|
|
178
181
|
}
|
|
179
182
|
return msg;
|
|
180
183
|
}
|