// If there are multiple launches containing the configuration give priority to the configuration in the current launch
rootForName=launch.workspace;
}else{
returnTPromise.wrapError(newError(launchesContainingName.length===0?nls.localize('noConfigurationNameInWorkspace',"Could not find launch configuration '{0}' in the workspace.",name)
:nls.localize('multipleConfigurationNamesInWorkspace',"There are multiple launch configurates `{0}` in the workspace. Use folder name to qualify the configuration.",name)));
// If there are multiple launches containing the configuration give priority to the configuration in the current launch
rootForName=launch.workspace;
}else{
returnTPromise.wrapError(newError(launchesContainingName.length===0?nls.localize('noConfigurationNameInWorkspace',"Could not find launch configuration '{0}' in the workspace.",name)
:nls.localize('multipleConfigurationNamesInWorkspace',"There are multiple launch configurates `{0}` in the workspace. Use folder name to qualify the configuration.",name)));
returnTPromise.wrapError(newError(nls.localize('noFolderWithName',"Can not find folder with name '{0}' for configuration '{1}' in compound '{2}'.",configData.folder,configData.name,compound.name)));