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 aeschright committed Feb 14, 2019
1 parent f91024e commit a86d097
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 a86d097

Please # to comment.