Skip to content

After each Autofix a new blank line is added after the file header #24

@k-eb

Description

@k-eb

If a file has a file header, say for the year 2018, and if I then change the template to 2019 and run autofix, the file header will be correctly replaced, but also adds a blank line after the file header. It does that for every autofix. So over the years, blank lines will pile up.
Is that a known issue?

Example:

/* ***
 * Copyright 2018
*** */
console.log("hello");

When now the template is changed to use 2019, after auto-fix the file will look like this:

/* ***
 * Copyright 2019
*** */

console.log("hello");

Again, when the template is changed again to say 2020, the file will be auto-fixed to:

/* ***
 * Copyright 2020
*** */


console.log("hello");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions