Browse Source

Fix jsdoc warnings

Kevin van Zonneveld 5 years ago
parent
commit
c7027643ff
1 changed files with 4 additions and 4 deletions
  1. 4 4
      bin/upload-to-cdn.js

+ 4 - 4
bin/upload-to-cdn.js

@@ -41,10 +41,10 @@ const AWS_DIRECTORY = '756b8efaed084669b02cb99d4540d81f/default'
 
 /**
  * Get remote dist/ files by fetching the tarball for the given version
- * from npm and filtering it down to package/dist/ files.
+from npm and filtering it down to package/dist/ files.
  *
- * @param {string} Package name, eg. @uppy/robodog
- * @param {string} Package version, eg. "1.2.0"
+ * @param {string} packageName eg. @uppy/robodog
+ * @param {string} version eg. 1.8.0
  * @returns a Map<string, Buffer>, filename → content
  */
 async function getRemoteDistFiles (packageName, version) {
@@ -74,7 +74,7 @@ async function getRemoteDistFiles (packageName, version) {
  * Get local dist/ files by asking npm-packlist what files would be added
  * to an npm package during publish, and filtering those down to just dist/ files.
  *
- * @param {string} Base file path of the package, eg. ./packages/@uppy/locales
+ * @param {string} packagePath Base file path of the package, eg. ./packages/@uppy/locales
  * @returns a Map<string, Buffer>, filename → content
  */
 async function getLocalDistFiles (packagePath) {