Skip to content

Conversation

@emteknetnz
Copy link
Member

Issue silverstripe/silverstripe-elemental#985

Fixes No '.doclintrc' file found at /home/runner/work/silverstripe-userforms/silverstripe-userforms//home/runner/work/silverstripe-userforms/silverstripe-userforms https://github.com/silverstripe/silverstripe-userforms/actions/runs/8610141856/job/23595207034?pr=1278

bin/doclint Outdated

# If the module directory is not an absolute path, make it one
if [[ $MODULE_DIR != $ORIG ]] && [[ $MODULE_DIR != "/*" ]]; then
if [[ $MODULE_DIR != $ORIG ]] && [[ "$MODULE_DIR/" != $ORIG ]] && [[ $MODULE_DIR != "/*" ]]; then
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if [[ $MODULE_DIR != $ORIG ]] && [[ "$MODULE_DIR/" != $ORIG ]] && [[ $MODULE_DIR != "/*" ]]; then
if [[ $MODULE_DIR != $ORIG_DIR ]] && [[ "$MODULE_DIR/" != $ORIG_DIR ]] && [[ $MODULE_DIR != "/*" ]]; then

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 98d0ecc into silverstripe:1.0 Apr 9, 2024
@GuySartorelli GuySartorelli deleted the pulls/1.0/slash branch April 9, 2024 04:34
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