Skip to content

Detecting changed files is broken in v1.1.0 #61

@aabouzaid

Description

@aabouzaid

Hello,

because of the latest change in v1.1.0, now charts_dir doesn't work with "." (current working directory)

local depth=$(( $(tr "/" "\n" <<< "$charts_dir" | wc -l) + 1 ))

This expression cannot be less than 2 that's why no changes detected in the current working directory.

$ echo $(( $(tr "/" "\n" <<< "." | wc -l) + 1 )) 
2

The + 1 should be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions