* Gets the human-readable name of the source.
()
| 289 | * Gets the human-readable name of the source. |
| 290 | */ |
| 291 | private _humanName() { |
| 292 | if (utils.isAbsolute(this._fqname)) { |
| 293 | const root = this._container.rootPath; |
| 294 | if (root && isSubdirectoryOf(root, this._fqname)) { |
| 295 | return forceForwardSlashes(relative(root, this._fqname)); |
| 296 | } |
| 297 | } |
| 298 | |
| 299 | return this._fqname; |
| 300 | } |
| 301 | |
| 302 | /** |
| 303 | * Returns a pretty name for the script. This is the name displayed in |
no test coverage detected