()
| 391 | } |
| 392 | |
| 393 | func (p *Pet) GetScriptPath() string { |
| 394 | return util.FilePath(configs.GetFilePathsConfig().DataFiles.String(), `/`, `pets`, `/`, strings.Replace(p.Filepath(), `.yaml`, `.js`, 1)) |
| 395 | } |
| 396 | |
| 397 | func (p *Pet) HasScript() bool { |
| 398 | scriptPath := p.GetScriptPath() |
no test coverage detected