diff --git a/browser/main/lib/dataApi/copyImage.js b/browser/main/lib/dataApi/copyImage.js index e814c41b..75e2f4a4 100644 --- a/browser/main/lib/dataApi/copyImage.js +++ b/browser/main/lib/dataApi/copyImage.js @@ -3,6 +3,12 @@ const path = require('path') const _ = require('lodash') const sander = require('sander') +/** + * @description To copy an image and return the path. + * @param {String} filePath + * @param {String} storageKey + * @return {String} an image path + */ function copyImage (filePath, storageKey) { const targetStorage = (() => { try {