UNPKG

1.32 kBJavaScriptView Raw
1"use strict";
2var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3 return new (P || (P = Promise))(function (resolve, reject) {
4 function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5 function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6 function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
7 step((generator = generator.apply(thisArg, _arguments || [])).next());
8 });
9};
10Object.defineProperty(exports, "__esModule", { value: true });
11const command_1 = require("../models/command");
12class GetSetCommand extends command_1.Command {
13 constructor() {
14 super(...arguments);
15 this.name = 'getset';
16 this.description = 'Deprecated in favor of config command.';
17 this.arguments = [];
18 this.options = [];
19 this.hidden = true;
20 }
21 run(_options) {
22 return __awaiter(this, void 0, void 0, function* () {
23 this.logger.warn('get/set have been deprecated in favor of the config command.');
24 });
25 }
26}
27exports.default = GetSetCommand;
28//# sourceMappingURL=/Users/hansl/Sources/hansl/angular-cli/commands/getset.js.map
\No newline at end of file