@shopify/cli-kit
    Preparing search index...

    Function addToGitIgnore

    • Add an entry to an existing .gitignore file.

      If the .gitignore file doesn't exist, or if the entry is already present, no changes will be made.

      Parameters

      • root: string

        The directory containing the .gitignore file.

      • entry: string

        The entry to add to the .gitignore file.

      Returns void