Sha256: e7f0488208c386fa96e2b95bf4577ee6495e9b5d7a01774f32b8a01eccf78add

Contents?: true

Size: 603 Bytes

Versions: 5

Compression:

Stored size: 603 Bytes

Contents

module Circleci
  module Bundle
    module Update
      module Pr
        module Note
          module_function

          def exist?
            File.exist?('.circleci/BUNDLE_UPDATE_NOTE.md') ||
              File.exist?('CIRCLECI_BUNDLE_UPDATE_NOTE.md')
          end

          def read
            if File.exist?('.circleci/BUNDLE_UPDATE_NOTE.md')
              File.read('.circleci/BUNDLE_UPDATE_NOTE.md')
            elsif File.exist?('CIRCLECI_BUNDLE_UPDATE_NOTE.md')
              File.read('CIRCLECI_BUNDLE_UPDATE_NOTE.md')
            end
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
circleci-bundle-update-pr-1.14.4 lib/circleci/bundle/update/pr/note.rb
circleci-bundle-update-pr-1.14.3 lib/circleci/bundle/update/pr/note.rb
circleci-bundle-update-pr-1.14.2 lib/circleci/bundle/update/pr/note.rb
circleci-bundle-update-pr-1.14.1 lib/circleci/bundle/update/pr/note.rb
circleci-bundle-update-pr-1.14.0 lib/circleci/bundle/update/pr/note.rb