123456789101112131415 |
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });
- const tslib_1 = require("tslib");
- const utils_1 = require("../utils");
- const chalk_1 = tslib_1.__importDefault(require("chalk"));
- class CleanCommand {
- constructor() {
- this.description = 'Clean js file while it has the same name ts/tsx file';
- }
- async run(_, { cwd }) {
- (0, utils_1.cleanJs)(cwd);
- console.info(chalk_1.default.red('\nWARNING: `ets clean` has been deprecated! Use `tsc -b --clean` instead\n'));
- }
- }
- exports.default = new CleanCommand();
|