* @param {String|ExecutionProfile} name * @returns {ExecutionProfile|undefined} It returns the execution profile by name or the default profile when name is * undefined. It returns undefined when the profile does not exist.
(name)
| 201 | * undefined. It returns undefined when the profile does not exist. |
| 202 | */ |
| 203 | getProfile(name) { |
| 204 | if (name instanceof ExecutionProfile) { |
| 205 | return name; |
| 206 | } |
| 207 | return this._profilesMap[name || 'default']; |
| 208 | } |
| 209 | |
| 210 | /** @returns {ExecutionProfile} */ |
| 211 | getDefault() { |
no outgoing calls
no test coverage detected