mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
Add comments
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user