Skip to content

Commit

Permalink
doc: use const in lib/fetch-package-metadata.md (#120)
Browse files Browse the repository at this point in the history
PR-URL: #120
Credit: @watilde
Reviewed-By: @aeschright
  • Loading branch information
watilde authored and Audrey Eschright committed Jan 29, 2019
1 parent 671cad1 commit 89b23a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fetch-package-metadata.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
fetch-package-metadata
----------------------

var fetchPackageMetadata = require("npm/lib/fetch-package-metadata")
const fetchPackageMetadata = require("npm/lib/fetch-package-metadata")
fetchPackageMetadata(spec, contextdir, callback)

This will get package metadata (and if possible, ONLY package metadata) for
Expand Down

0 comments on commit 89b23a5

Please # to comment.