Skip to content

Commit

Permalink
use YAML.safe_load
Browse files Browse the repository at this point in the history
  • Loading branch information
matthutchinson committed Jan 19, 2017
1 parent ea9d98e commit 7eeef6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lolcommits/configuration.rb
Expand Up @@ -14,7 +14,7 @@ def initialize(attributes = {})

def read_configuration
return unless File.exist?(configuration_file)
YAML.load(File.open(configuration_file))
YAML.safe_load(File.open(configuration_file))
end

def configuration_file
Expand Down

0 comments on commit 7eeef6e

Please sign in to comment.