<p>In my case SQL::Translator creates SQL-files for SQLite with trailing whitespace in empty comment lines.</p>
<p>I suggest fixing that by removing the single space <code></code> from <code>$DEFAULT_COMMENT</code> and prefixing any comments with the space again.</p>
<p>I hope that <code>$DEFAULT_COMMENT</code> is not too important or too widely used to be changed.</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/dbsrgits/sql-translator/pull/113'>https://github.com/dbsrgits/sql-translator/pull/113</a></p>
<h4>Commit Summary</h4>
<ul>
<li>Fix trailing whitespace in header comments</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/dbsrgits/sql-translator/pull/113/files#diff-0">lib/SQL/Translator/Utils.pm</a>
(10)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/dbsrgits/sql-translator/pull/113/files#diff-1">t/12header_comment.t</a>
(2)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/dbsrgits/sql-translator/pull/113.patch'>https://github.com/dbsrgits/sql-translator/pull/113.patch</a></li>
<li><a href='https://github.com/dbsrgits/sql-translator/pull/113.diff'>https://github.com/dbsrgits/sql-translator/pull/113.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/dbsrgits/sql-translator/pull/113">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AASeAkKJl5-7GFgIv1nSXHegMj1nyclKks5uzRYsgaJpZM4Y1MrN">mute the thread</a>.<img src="https://github.com/notifications/beacon/AASeAlFyeVoELVJAa6CqXy1568-eBWohks5uzRYsgaJpZM4Y1MrN.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/dbsrgits/sql-translator","title":"dbsrgits/sql-translator","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/dbsrgits/sql-translator"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Fix trailing whitespace in header comments (#113)"}],"action":{"name":"View Pull Request","url":"https://github.com/dbsrgits/sql-translator/pull/113"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/dbsrgits/sql-translator/pull/113",
"url": "https://github.com/dbsrgits/sql-translator/pull/113",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Fix trailing whitespace in header comments (#113)",
"sections": [
{
"text": "",
"activityTitle": "**Daniel Böhmer**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@dboehmer",
"facts": [
]
},
{
"title": "Commit Summary",
"facts": [
{
"name": "3e4fee8",
"value": "Fix trailing whitespace in header comments"
}
]
},
{
"title": "File Changes",
"facts": [
{
"name": "Modified",
"value": "[lib/SQL/Translator/Utils.pm](https://github.com/dbsrgits/sql-translator/pull/113/files#diff-0) (10 changes)"
},
{
"name": "Modified",
"value": "[t/12header_comment.t](https://github.com/dbsrgits/sql-translator/pull/113/files#diff-1) (2 changes)"
}
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"dbsrgits/sql-translator\",\n\"issueId\": 113,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close pull request",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"PullRequestClose\",\n\"repositoryFullName\": \"dbsrgits/sql-translator\",\n\"pullRequestId\": 113\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/dbsrgits/sql-translator/pull/113"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/dbsrgits/sql-translator/pull/113.patch"
}
],
"@type": "OpenUri",
"name": "View patch"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/dbsrgits/sql-translator/pull/113.diff"
}
],
"@type": "OpenUri",
"name": "View diff"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 416598733\n}"
}
],
"themeColor": "26292E"
}
]</script>