WEB-47394 WEB-43188 WEB-37193 Fix issue with Angular schematics not showing up and...
[idea/contrib.git] / AngularJS / gen / ngCli / schematicsProvider90.js
index 7e7bb427854c9baa23a86afede4f9989364d6338..6ca90a2c5c24602a020da9fd111e0f61f38af73e 100644 (file)
@@ -1,8 +1,8 @@
 "use strict";
 const schematic_command_1 = require("@angular/cli/models/schematic-command");
-const config_1 = require("@angular/cli/utilities/config");
+const project_1 = require("@angular/cli/utilities/project");
 const schematicsProvider = (async function () {
-    let workspace = await config_1.getWorkspace('local');
+    let workspace = await project_1.getWorkspaceDetails();
     let command = new schematic_command_1.SchematicCommand({ workspace: workspace }, null, null);
     let { listSchematicNames } = (await command.createWorkflow({ interactive: false })).engineHost;
     let defaultSchematicCollection = await command.getDefaultSchematicCollection();