Kevin van Zonneveld преди 5 години
родител
ревизия
c7027643ff
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  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
  * 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
  * @returns a Map<string, Buffer>, filename → content
  */
  */
 async function getRemoteDistFiles (packageName, version) {
 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
  * 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.
  * 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
  * @returns a Map<string, Buffer>, filename → content
  */
  */
 async function getLocalDistFiles (packagePath) {
 async function getLocalDistFiles (packagePath) {