Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
kmcb777 committed May 22, 2019
1 parent 5d9b73e commit 184fd8e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/actions/projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@ async function massExport(state, asyncJob) {

export function exportSelectedProjectsToHTML() {
return async (dispatch, getState) => {
const targetPath = await massExport(getState(), (filePath, p) => fsWriteFile(filePath, p.get('html')))
const targetPath = await massExport(getState(), (filePath, p) =>
fsWriteFile(filePath, p.get('html')),
)
if (targetPath) {
dispatch(saveLastExportedFolder(targetPath))
}
Expand All @@ -198,7 +200,7 @@ export function exportSelectedProjectsToHTML() {
export function exportSelectedProjectsToImages(done) {
return async (dispatch, getState) => {
const state = getState()

const targetPath = await massExport(state, async (filePath, p, targetDir) => {
const html = p.get('html')
const previewSize = state.settings.get('previewSize')
Expand Down

0 comments on commit 184fd8e

Please sign in to comment.