hunk.code_window:  *
    * Use of this source code is governed by an MIT-style license that can be
    * found in the LICENSE file at https://angular.io/license
    */
   import { experimental, json, logging } from '@angular-devkit/core';
   import { Observable, from, of } from 'rxjs';
   import { concatMap, first, map, shareReplay, switchMap } from 'rxjs/operators';
   import {
     BuilderInfo,
     BuilderInput,
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit: import { analytics, experimental, json, logging } from '@angular-devkit/core';
  
hunk.file_path: packages/angular_devkit/architect/src/architect.ts
hunk.type: replace
file: import { ng } from '../../utils/process';
  
  export default function () {
    return Promise.resolve()
      .then(() => ng('update', '--help'))
      .then(({ stdout }) => {
        if (!/next/.test(stdout)) {
          throw 'Update help should contain "next" option';
        }
      });
  }
  