<commit_before>import { Component, Input } from '@angular/core';
import { Player } from '../models/player.model';

@Component({
  moduleId: module.id,
  selector: 'agot-player-link',
  template: `<a [routerLink]="['/PlayerDetails', {id: player?.playerId}]">{{ player?.name || player?.playerName || 'Player' }}</a>`,
})
export class PlayerLinkComponent {
  @Input()
  player: Player;
}<commit_msg>Fix routerLink syntax<commit_after>import { Component, Input } from '@angular/core';
import { Player } from '../models/player.model';

@Component({
  moduleId: module.id,
  selector: 'agot-player-link',
  template: `<a [routerLink]="['/players', player?.playerId]">{{ player?.name || player?.playerName || 'Player' }}</a>`,
})
export class PlayerLinkComponent {
  @Input()
  player: Player;
}
{'fraction_non_alphanumeric': 0.2017766497461929, 'fraction_numerical': 0.0, 'mean_word_length': 5.261904761904762, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7147793', 'n_tokens_mistral': 251, 'n_tokens_neox': 249, 'n_words': 59}