source: trip-planner-front/node_modules/@angular-devkit/schematics/tasks/run-schematic/task.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 944 bytes
Line 
1"use strict";
2/**
3 * @license
4 * Copyright Google LLC All Rights Reserved.
5 *
6 * Use of this source code is governed by an MIT-style license that can be
7 * found in the LICENSE file at https://angular.io/license
8 */
9Object.defineProperty(exports, "__esModule", { value: true });
10exports.RunSchematicTask = void 0;
11const options_1 = require("./options");
12class RunSchematicTask {
13 constructor(c, s, o) {
14 if (arguments.length == 2 || typeof s !== 'string') {
15 o = s;
16 s = c;
17 c = null;
18 }
19 this._collection = c;
20 this._schematic = s;
21 this._options = o;
22 }
23 toConfiguration() {
24 return {
25 name: options_1.RunSchematicName,
26 options: {
27 collection: this._collection,
28 name: this._schematic,
29 options: this._options,
30 },
31 };
32 }
33}
34exports.RunSchematicTask = RunSchematicTask;
Note: See TracBrowser for help on using the repository browser.