Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
yktsr committed Jan 29, 2024
1 parent cc295b5 commit eef83b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Text2Frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -4106,7 +4106,7 @@
BASE_PATH = path.dirname(process.mainModule.filename)
}

return {path_sep: PATH_SEP, base_path: BASE_PATH}
return { path_sep: PATH_SEP, base_path: BASE_PATH }
}

const getDefaultPage = function () {
Expand Down Expand Up @@ -4169,7 +4169,7 @@
}
if (args[5] && args[5].toLowerCase() === 'true') Laurus.Text2Frame.IsOverwrite = true
if (args[0] || args[1]) {
const {PATH_SEP, BASE_PATH} = getDirParams()
const { PATH_SEP, BASE_PATH } = getDirParams()
Laurus.Text2Frame.TextPath = `${BASE_PATH}${PATH_SEP}${Laurus.Text2Frame.FileFolder}${PATH_SEP}${Laurus.Text2Frame.FileName}`
Laurus.Text2Frame.MapPath = `${BASE_PATH}${PATH_SEP}data${PATH_SEP}Map${('000' + Laurus.Text2Frame.MapID).slice(-3)}.json`
}
Expand All @@ -4183,7 +4183,7 @@
Laurus.Text2Frame.FileName = args[1]
Laurus.Text2Frame.CommonEventID = args[2]
Laurus.Text2Frame.IsOverwrite = (args[3] === 'true')
const {PATH_SEP, BASE_PATH} = getDirParams()
const { PATH_SEP, BASE_PATH } = getDirParams()
Laurus.Text2Frame.TextPath = `${BASE_PATH}${PATH_SEP}${Laurus.Text2Frame.FileFolder}${PATH_SEP}${Laurus.Text2Frame.FileName}`
Laurus.Text2Frame.CommonEventPath = `${BASE_PATH}${PATH_SEP}data${PATH_SEP}CommonEvents.json`
}
Expand Down

0 comments on commit eef83b4

Please sign in to comment.