Skip to content

Conversation

@Trott
Copy link
Member

@TrottTrott 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-botnodejs-github-bot added the build Issues and PRs related to build files or the CI. label Apr 7, 2020
@TrottTrott 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
MemberAuthor

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 <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
@TrottTrottforce-pushed the fix-md-lint-newer branch from 340cfe1 to 203776fCompareApril 10, 2020 02:58
@Trott
Copy link
MemberAuthor

Landed in 203776f

@TrottTrott merged commit 203776f into nodejs:masterApr 10, 2020
@TrottTrott 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 <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
@targostargos mentioned this pull request Apr 13, 2020
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 <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
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 <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
@targostargos mentioned this pull request Apr 22, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.buildIssues and PRs related to build files or the CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@Trott@nodejs-github-bot@lpinca@richardlau