Skip to content

Footer message that keeps replicating #787

@shinyaohtani

Description

@shinyaohtani

Even if a footer message has already been added to the file specified in config.base, if I execute the script to add a change log for the newly developed part, a footer message will be added one by one every time.

  • before
    This Changelog was automatically generated by...
  • after
    This Changelog was automatically generated by...
    This Changelog was automatically generated by...
  • after 2 times (keep replicating infinitely)
    This Changelog was automatically generated by...
    This Changelog was automatically generated by...
    This Changelog was automatically generated by...

Maybe, this code doesn't work:

log.gsub!(/#{credit_line}(\n)?/, "") # Remove old credit lines

  • Environment
    • macOS Catalina (10.15.4)
    • project: giturl
    • ruby: ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-darwin19]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy