loadPubspecConfigOrNull function
Implementation
Config? loadPubspecConfigOrNull(File pubspecFile, {File? buildFile}) {
try {
return loadPubspecConfig(pubspecFile, buildFile: buildFile);
} on FileSystemException catch (e, s) {
log.severe('File system error when reading files.', e, s);
} on InvalidSettingsException catch (e, s) {
log.severe('Invalid settings in files.', e, s);
}
return null;
}