loadPubspecConfigFromInputOrNull function

Config? loadPubspecConfigFromInputOrNull(
  1. ConfigLoadInput input
)

Implementation

Config? loadPubspecConfigFromInputOrNull(ConfigLoadInput input) {
  try {
    return loadPubspecConfigFromInput(input);
  } 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);
  } on CheckedFromJsonException catch (e, s) {
    log.severe('Invalid settings in files.', e, s);
  }
  return null;
}