hunk.code_window:       return true;
       } catch (e) {
         if (!(e instanceof ModuleNotFoundException)) {
           throw e;
         }
       }
  
hunk.labels: keep keep keep replace keep keep keep
hunk.after_edit:       if (e.code !== 'MODULE_NOT_FOUND') {
  
hunk.file_path: packages/angular/cli/commands/add-impl.ts
hunk.type: replace
file: /**
   * @license
   * Copyright Google Inc. All Rights Reserved.
   *
   * 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 { EMPTY } from 'rxjs';
  import { Logger, LoggerApi } from './logger';
  
  
  export class NullLogger extends Logger {
    constructor(parent: Logger | null = null) {
      super('', parent);
      this._observable = EMPTY;
    }
  
    asApi(): LoggerApi {
      return {
        createChild: () => new NullLogger(this),
        log() {},
        debug() {},
        info() {},
        warn() {},
        error() {},
        fatal() {},
      } as LoggerApi;
    }
  }
  