Skip to content

Autoformat eats up characters with multiline strings #2091

Description

@basarat

for playground link

new Error(`Failed to expand glob: ${projectSpec.filesGlob}
                at projectPath : ${projectFile}
                with error: ${ex.message}`)

Autoformat will make it:

new Error(`Failed to expand glob: ${projectSpec.filesGlob}
                projectFile}
                ex.message}`)

ouch. ❤️

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDuplicateAn existing issue was already createdFixedA PR has been merged for this issueHigh Priority

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions