[DBIx-Class-Devel] [dbsrgits/sql-translator] Fix trailing whitespace in header comments (#113)

Daniel Böhmer notifications at github.com
Tue Nov 27 10:38:36 GMT 2018


In my case SQL::Translator creates SQL-files for SQLite with trailing whitespace in empty comment lines.

I suggest fixing that by removing the single space ` ` from `$DEFAULT_COMMENT` and prefixing any comments with the space again.

I hope that `$DEFAULT_COMMENT` is not too important or too widely used to be changed.
You can view, comment on, or merge this pull request online at:

  https://github.com/dbsrgits/sql-translator/pull/113

-- Commit Summary --

  * Fix trailing whitespace in header comments

-- File Changes --

    M lib/SQL/Translator/Utils.pm (10)
    M t/12header_comment.t (2)

-- Patch Links --

https://github.com/dbsrgits/sql-translator/pull/113.patch
https://github.com/dbsrgits/sql-translator/pull/113.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/sql-translator/pull/113
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20181127/741a2983/attachment.htm>


More information about the DBIx-Class-Devel mailing list