Class: Dependabot::DotnetSdk::FileUpdater

Inherits:
FileUpdaters::Base
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/dependabot/dotnet_sdk/file_updater.rb

Instance Method Summary collapse

Instance Method Details

#updated_dependency_filesObject



14
15
16
17
18
19
20
21
22
# File 'lib/dependabot/dotnet_sdk/file_updater.rb', line 14

def updated_dependency_files
  updated_files = []

  contents = update

  updated_files << updated_file(file: global_json, content: contents) if file_changed?(global_json)

  updated_files
end