mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-16 03:06:27 +00:00
Add comments
This commit is contained in:
@@ -3,6 +3,12 @@ const path = require('path')
|
|||||||
const _ = require('lodash')
|
const _ = require('lodash')
|
||||||
const sander = require('sander')
|
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) {
|
function copyImage (filePath, storageKey) {
|
||||||
const targetStorage = (() => {
|
const targetStorage = (() => {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user