mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
11 lines
277 B
JavaScript
11 lines
277 B
JavaScript
const fs = require('fs-extra')
|
|
const path = require('path')
|
|
const CONFIG = require('../config')
|
|
|
|
module.exports = function () {
|
|
if (fs.existsSync(CONFIG.buildOutputPath)) {
|
|
console.log(`Cleaning ${CONFIG.buildOutputPath}`)
|
|
fs.removeSync(CONFIG.buildOutputPath)
|
|
}
|
|
}
|