Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH Allow passing in a relative path as an argument #2

Merged

Conversation

emteknetnz
Copy link
Member

@emteknetnz emteknetnz commented Apr 8, 2024

Issue silverstripe/silverstripe-elemental#985

Allows using a non-absolute path as an argument e.g.

cd ~/Sites/somesite

vendor/bin/doclint vendor/dnadesign/silverstripe-elemental

Without this PR you need to call vendor/bin/doclint $(pwd)/vendor/dnadesign/silverstripe-elemental otherwise it'll complain that it cannot find .doclintrc

github workflows haven't been added with module standardiser yet to this repo so manually tag 1.0.1 after merge and merge-up to 1

bin/doclint Outdated Show resolved Hide resolved
Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@GuySartorelli GuySartorelli merged commit fdd547b into silverstripe:1.0 Apr 9, 2024
@GuySartorelli GuySartorelli deleted the pulls/1.0/abspath branch April 9, 2024 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants