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

build: fix LINT_MD_NEWER assignment #32712

Merged
merged 1 commit into from
Apr 10, 2020
Merged

Conversation

Trott
Copy link
Member

@Trott Trott commented Apr 7, 2020

Indentation with a tab breaks the functionality, resulting in linting
all .md files when any one is changed. For consistency with the rest of
the Makefile and to restore functionality, remove indentation.

Refs: #32614 (comment)

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added the build Issues and PRs related to build files or the CI. label Apr 7, 2020
@Trott Trott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Apr 8, 2020
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@lpinca
Copy link
Member

lpinca commented Apr 8, 2020

Why does indentation break functionality? It is not fully clear to me.

@Trott
Copy link
Member Author

Trott commented Apr 8, 2020

Why does indentation break functionality? It is not fully clear to me.

If I understand correctly, a tab character at the start of a line in a Makefile indicates that the line is part of a recipe. So in this case, it causes make to misinterpret what the line is.

@nodejs-github-bot
Copy link
Collaborator

Indentation with a tab breaks the functionality, resulting in linting
all .md files when any one is changed. For consistency with the rest of
the Makefile and to restore functionality, remove indentation.

Refs: nodejs#32614 (comment)

PR-URL: nodejs#32712
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@Trott Trott force-pushed the fix-md-lint-newer branch from 340cfe1 to 203776f Compare April 10, 2020 02:58
@Trott
Copy link
Member Author

Trott commented Apr 10, 2020

Landed in 203776f

@Trott Trott merged commit 203776f into nodejs:master Apr 10, 2020
@Trott Trott deleted the fix-md-lint-newer branch April 10, 2020 02:58
targos pushed a commit that referenced this pull request Apr 12, 2020
Indentation with a tab breaks the functionality, resulting in linting
all .md files when any one is changed. For consistency with the rest of
the Makefile and to restore functionality, remove indentation.

Refs: #32614 (comment)

PR-URL: #32712
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
BethGriggs pushed a commit that referenced this pull request Apr 14, 2020
Indentation with a tab breaks the functionality, resulting in linting
all .md files when any one is changed. For consistency with the rest of
the Makefile and to restore functionality, remove indentation.

Refs: #32614 (comment)

PR-URL: #32712
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
targos pushed a commit that referenced this pull request Apr 22, 2020
Indentation with a tab breaks the functionality, resulting in linting
all .md files when any one is changed. For consistency with the rest of
the Makefile and to restore functionality, remove indentation.

Refs: #32614 (comment)

PR-URL: #32712
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. build Issues and PRs related to build files or the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants