UNPKG
crowdin-auto-translation
Version:
latest (3.0.0)
3.0.0
2.0.0
1.0.8
1.0.7
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
automatic translating by crowdin and your specific config file
crowdin-auto-translation
/
src
/
clearOutput.js
8 lines
(6 loc)
•
224 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
const
fs =
require
(
"fs"
);
const
clearOutput
= (
outputPath
) => { fs.
rmdirSync
(
`
${outputPath}
/translated`
, {
recursive
:
true
,
force
:
true
}); fs.
unlinkSync
(
`
${outputPath}
/translated.zip`
); }
module
.
exports
= clearOutput;