zx: Don't change `global` inside `index.mjs`

Using zx as a library (import {$} from 'zx') adds generally unused members to global.

I suggest moving the global modification into zx.mjs.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 19 (4 by maintainers)

Most upvoted comments

Ok. Am I closing the issue and pull request?

I thought this issue is related to the case when zx overrides some globals set by other modules.