1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-16 03:06:27 +00:00

Fix lint error

This commit is contained in:
Junyoung Choi
2018-04-26 16:35:47 -07:00
parent b33e6b232c
commit 2e3e0bc1d8
5 changed files with 29 additions and 29 deletions

View File

@@ -2,7 +2,7 @@ const fs = require('fs')
const path = require('path')
const { findStorage } = require('browser/lib/findStorage')
//TODO: ehhc: delete this
// TODO: ehhc: delete this
/**
* @description Copy an image and return the path.

View File

@@ -6,7 +6,7 @@ const fs = require('fs')
const path = require('path')
const LOCAL_STORED_REGEX = /!\[(.*?)]\(\s*?\/:storage\/(.*\.\S*?)\)/gi
//TODO: ehhc: check this -> attachmentManagement
// TODO: ehhc: check this -> attachmentManagement
const IMAGES_FOLDER_NAME = 'images'
/**

View File

@@ -77,7 +77,7 @@ function moveNote (storageKey, noteKey, newStorageKey, newFolderKey) {
while (match != null) {
const [, filename] = match
const oldPath = path.join(oldStorage.path, 'images', filename)
//TODO: ehhc: attachmentManagement
// TODO: ehhc: attachmentManagement
moveTasks.push(
copyImage(oldPath, noteData.storage, false)
.then(() => {