dependabot/npm_and_yarn/BuildServer/eslint-7.2.0
Inga 🏳‍🌈 8 years ago
parent 4832f4bdee
commit 85e153337e
  1. 2
      BuildServer/lib/commenter.js
  2. 2
      BuildServer/lib/tasks/dotnetrewrite.js

@ -195,7 +195,7 @@ exports.commentOnPullRequest = (options, callback) => {
options.github = settings.createGithub(options.baseRepoOptions.owner);
return checkPullRequest(options, (err, successMessage) => getStatusMessageFromRelease(options.app, options.headRepoOptions, (err, successMessage) => {
const escapedErr = err.substring(0, 64000).replace(/`/g, "` ");
const escapedErr = (err || "").substring(0, 64000).replace(/`/g, "` ");
const message = err
? `Was not built:\r\n\r\n\`\`\`\r\n${escapedErr}\r\n\`\`\`\r\n\r\nDO NOT MERGE!`
: `Build OK\r\n\r\n${successMessage}`;

@ -25,7 +25,7 @@ module.exports = (params, processor) => ({
}
if (appendInformationalVersion) {
content = `${content}\n[assembly: System.Reflection.AssemblyInformationalVersion("${processor.context.versionInfo}")]`;
content = `${content}\n[assembly: System.Reflection.AssemblyInformationalVersion("${processor.context.versionInfo}")]\n`;
}
return cb(null, content);

Loading…
Cancel
Save