Remove Trailing Whitespace in Changelog
Summary: In D25584424 (V1), Sandcastle complained about trailing whitespace. This diff removes the adde description if none can be retrieved Reviewed By: nikoant Differential Revision: D25608443 fbshipit-source-id: a798bb0c40afaaafd55c90c70177f7c2af79af34
This commit is contained in:
committed by
Facebook GitHub Bot
parent
77ffe1d47b
commit
8af2d819b0
@@ -71,11 +71,13 @@ hgLog
|
||||
const matchFacebook = diffline.match(changeLogFacebookLineRe);
|
||||
if (matchFacebook) {
|
||||
changes++;
|
||||
contentsFacebook += ` * [${diff}](https://github.com/facebook/flipper/search?q=${diff}&type=Commits) - ${matchFacebook[2]}\n`;
|
||||
const detail = matchFacebook[2] ? ` - ${matchFacebook[2]}` : '';
|
||||
contentsFacebook += ` * [${diff}](https://github.com/facebook/flipper/search?q=${diff}&type=Commits)${detail}\n`;
|
||||
} else if (match) {
|
||||
changes++;
|
||||
contents += ` * [${diff}](https://github.com/facebook/flipper/search?q=${diff}&type=Commits) - ${match[2]}\n`;
|
||||
contentsFacebook += ` * [${diff}](https://github.com/facebook/flipper/search?q=${diff}&type=Commits) - ${match[2]}\n`;
|
||||
const detail = match[2] ? ` - ${match[2]}` : '';
|
||||
contents += ` * [${diff}](https://github.com/facebook/flipper/search?q=${diff}&type=Commits)${detail}\n`;
|
||||
contentsFacebook += ` * [${diff}](https://github.com/facebook/flipper/search?q=${diff}&type=Commits)${detail}\n`;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user