@procore/core-scripts
Version:
A CLI to enhance your development experience
15 lines • 596 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const del_1 = tslib_1.__importDefault(require("del"));
const BaseCommand_1 = require("../../BaseCommand");
class AppCleanCommand extends BaseCommand_1.BaseCommand {
async run() {
const folderPath = this.workspace.resolve('build');
this.debug(`Emptying ${folderPath}`);
await (0, del_1.default)(folderPath);
}
}
AppCleanCommand.description = 'Cleans the distribution folder (/build).';
exports.default = AppCleanCommand;
//# sourceMappingURL=clean.js.map