Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/aws/codedeploy/local/cli_validator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def validate(args)
end

if (uri.scheme == 'http')
raise ValidationError.new("location #{location} cannot be http, only encyrpted (https) url endpoints supported")
raise ValidationError.new("location #{location} cannot be http, only encrypted (https) url endpoints supported")
end

if (uri.scheme != 'https' && uri.scheme != 's3' && !File.exists?(location))
Expand Down
2 changes: 1 addition & 1 deletion spec/aws/codedeploy/local/cli_validator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
end

it 'throws a ValidationError since unencrypted urls are not supported' do
expect{validator.validate(args)}.to raise_error(AWS::CodeDeploy::Local::CLIValidator::ValidationError, "location #{HTTP_URL} cannot be http, only encyrpted (https) url endpoints supported")
expect{validator.validate(args)}.to raise_error(AWS::CodeDeploy::Local::CLIValidator::ValidationError, "location #{HTTP_URL} cannot be http, only encrypted (https) url endpoints supported")
end
end

Expand Down