Skip to content

Commit

Permalink
Fix plugins (#859)
Browse files Browse the repository at this point in the history
* fix: frozen string modification error

* chore: bump version
  • Loading branch information
DominikAlberski authored Apr 4, 2024
1 parent 956b88a commit 5022c24
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2007,7 +2007,7 @@ If you do not have write access to the system gem directory, you'll need to perf
Now make sure everything is working:
$ travis version
1.13.2
1.13.3
See also [Note on Ubuntu](#ubuntu) below.
Expand Down
3 changes: 2 additions & 1 deletion bin/travis
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ require 'bundler/setup' if File.exist? File.expand_path('../Gemfile', __dir__)
require 'travis/cli'

# load plugins
TRAVIS_PLUGINS = [].freeze
TRAVIS_PLUGINS = []
config_path = ENV.fetch('TRAVIS_CONFIG_PATH') { File.expand_path('.travis', Dir.home) }
Dir.glob(File.expand_path('*/init.rb', config_path)) do |file|
TRAVIS_PLUGINS << file.sub("#{config_path}/", '').sub(%r{/init\.rb$}, '')
load(file)
end
TRAVIS_PLUGINS.freeze

# and off we go then
Travis::CLI.run(ARGV)
2 changes: 1 addition & 1 deletion lib/travis/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Travis
VERSION = '1.13.2'
VERSION = '1.13.3'
end

0 comments on commit 5022c24

Please sign in to comment.