Skip to content

The sed command in copyright-checker.sh raises error on mac #852

@mabdollahpour-ol

Description

@mabdollahpour-ol

Macos by default uses BSD implemenation of sed which has different API than gnu-sed. This results in "bad flag in substitute command:" error when there is a file with no copyright header and the pre-commit hook tries to run copyright-checker.sh to automatically fix it.

Metadata

Metadata

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