hunk.code_window:         return this._workspace.getProjectByPath(normalize(process.cwd()))
                  || this._workspace.getDefaultProjectName();
         }
         return undefined;
  
hunk.labels: keep add keep keep keep
hunk.after_edit:         } catch (e) {
             if (e instanceof experimental.workspace.AmbiguousProjectPathException) {
               this.logger.warn(tags.oneLine`
                 Two or more projects are using identical roots.
                 Unable to determine project using current working directory.
                 Using default workspace project instead.
               `);
               return this._workspace.getDefaultProjectName();
             }
             throw e;
           }
  
hunk.file_path: packages/angular/cli/models/schematic-command.ts
hunk.type: add
file: {
    "title": "Protractor Target",
    "description": "Protractor target options for Build Facade.",
    "type": "object",
    "properties": {
      "protractorConfig": {
        "type": "string",
        "description": "The name of the Protractor configuration file."
      },
      "devServerTarget": {
        "type": "string",
        "description": "Dev server target to run tests against."
      },
      "specs": {
        "type": "array",
        "description": "Override specs in the protractor config.",
        "default": [],
        "items": {
          "type": "string",
          "description": "Spec name."
        }
      },
      "suite": {
        "type": "string",
        "description": "Override suite in the protractor config."
      },
      "elementExplorer": {
        "type": "boolean",
        "description": "Start Protractor's Element Explorer for debugging.",
        "default": false
      },
      "webdriverUpdate": {
        "type": "boolean",
        "description": "Try to update webdriver.",
        "default": true
      },
      "port": {
        "type": "number",
        "description": "The port to use to serve the application."
      },
      "host": {
        "type": "string",
        "description": "Host to listen on.",
        "default": "localhost"
      },
      "baseUrl": {
        "type": "string",
        "description": "Base URL for protractor to connect to."
      }
    },
    "additionalProperties": false,
    "required": [
      "protractorConfig"
    ]
  }
  