hunk.code_window:   const resolvedOutputPath = resolve(root, outputPath);
     if (resolvedOutputPath === root) {
       throw new Error('Output path MUST not be project root directory!');
     }
     fs.rmSync(resolvedOutputPath, { force: true, recursive: true, maxRetries: 3 });
   }
hunk.labels: keep keep keep keep keep replace keep
hunk.after_edit:   // Avoid removing the actual directory to avoid errors in cases where the output
     // directory is mounted or symlinked. Instead the contents are removed.
     let entries;
     try {
       entries = fs.readdirSync(resolvedOutputPath);
     } catch (error) {
       if (error instanceof Error && 'code' in error && error.code === 'ENOENT') {
         return;
       }
       throw error;
     }
     for (const entry of entries) {
       fs.rmSync(join(resolvedOutputPath, entry), { force: true, recursive: true, maxRetries: 3 });
     }
  
hunk.file_path: packages/angular_devkit/build_angular/src/utils/delete-output-dir.ts
hunk.type: replace
file: {
    "name": "invalid-aliases-2",
    "schematics": {
      "schematic1": {
        "aliases": ["alias1"],
        "description": "1",
        "factory": "../null-factory"
      },
      "schematic2": {
        "aliases": ["alias1"],
        "description": "2",
        "factory": "../null-factory"
      }
    }
  }
  