if (indicator != null) {
indicator.setText("pub list-package-dirs");
indicator.setText2("Module: " + module.getName());
indicator.setIndeterminate(false);
indicator.setFraction((i + 1.) / modules.length);
indicator.checkCanceled();
}
if (DartSdkGlobalLibUtil.isDartSdkGlobalLibAttached(module, sdk.getGlobalLibName())) {
for (VirtualFile contentRoot : ModuleRootManager.getInstance(module).getContentRoots()) {
if (contentRoot.findChild(PubspecYamlUtil.PUBSPEC_YAML) != null) continue;