Skip to content

Commit ba25b24

Browse files
committed
ran prettier
1 parent 48d7c93 commit ba25b24

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

javascript/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ async function translateXml(filepath, filename, option) {
151151
filepath,
152152
filename.replace(/\.xml$/, "") + ""
153153
);
154-
ensureDirectoryExists(path.join(outputDir, filepath), err => { });
154+
ensureDirectoryExists(path.join(outputDir, filepath), err => {});
155155
ensureDirectoryExists(relativeFileDir, err => {
156156
if (err) {
157157
//console.log(err);
@@ -406,9 +406,7 @@ async function main() {
406406

407407
const logPath = path.join(logDir, `${jsonSummaryPrefix}-${timestamp}.log`);
408408
fs.writeFileSync(logPath, summaryLog);
409-
console.log(
410-
`Summary log saved to logs/json-summary-${timestamp}.log`
411-
);
409+
console.log(`Summary log saved to logs/json-summary-${timestamp}.log`);
412410
} catch (logError) {
413411
console.error("Failed to save log file:", logError);
414412
}

0 commit comments

Comments
 (0)