diff --git a/src/beautifiers/perltidy.coffee b/src/beautifiers/perltidy.coffee index 77f7a01..8ec1557 100644 --- a/src/beautifiers/perltidy.coffee +++ b/src/beautifiers/perltidy.coffee @@ -23,7 +23,7 @@ module.exports = class PerlTidy extends Beautifier '--standard-output' '--standard-error-output' '--quiet' - "--profile=#{options.perltidy_profile}" if options.perltidy_profile? + "--profile=#{options.perltidy_profile}" if options.perltidy_profile?.length @tempFile("input", text) ], help: { link: "http://perltidy.sourceforge.net/"