Skip to content

Conversation

@GrosSacASac
Copy link
Contributor

doc: esm add example how to create __filename, __dirname

Checklist
  • tests and/or benchmarks are included (tested manually)
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added the doc Issues and PRs related to the documentations. label Jun 18, 2019
@addaleax addaleax added the esm Issues and PRs related to the ECMAScript Modules implementation. label Jun 19, 2019
@GrosSacASac
Copy link
Contributor Author

Do you know what to do with this lint error ?:
751:1-751:38 warning Found unused definition no-unused-definitions remark-lint

@richardlau
Copy link
Member

Do you know what to do with this lint error ?:
751:1-751:38 warning Found unused definition no-unused-definitions remark-lint

You've removed the reference to import.meta.url so the linter is complaining that nothing is now referencing the definition on line 751. Either edit to keep the import.meta.url reference or removed the definition from line 751.

@Trott Trott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jun 24, 2019
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot
Copy link
Collaborator

@GrosSacASac
Copy link
Contributor Author

fixes #28114

@GrosSacASac
Copy link
Contributor Author

Should I try to edit the first commit message or can you merge ?

@nodejs-github-bot
Copy link
Collaborator

@lpinca
Copy link
Member

lpinca commented Jul 13, 2019

Landed in 84ad92d.

@lpinca lpinca closed this Jul 13, 2019
@lpinca
Copy link
Member

lpinca commented Jul 13, 2019

@GrosSacASac thank you.

@GrosSacASac GrosSacASac deleted the add-example-dirname-esm branch July 13, 2019 20:25
This was referenced Jul 23, 2019
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. doc Issues and PRs related to the documentations. esm Issues and PRs related to the ECMAScript Modules implementation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.