def METHOD_NAME(diif_ref):
    for tname, ext_path in diif_ref:
        ext_name = ext_path.split('/')[-1]
        logger.info(f'uninstalling extension: {ext_name}')
        cmd = ['azdev', 'extension', 'remove', ext_name]
        logger.info(f'cmd: {cmd}')
        out = run(cmd)
        if out.returncode:
            raise RuntimeError(f"{cmd} failed")