Skip to content

Commit 268b1ff

Browse files
authored
Merge pull request aws#165 from kakakakakku/fix-typo
Fixes typos in error messages
2 parents fbfadb6 + 1840f2e commit 268b1ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/aws/codedeploy/local/cli_validator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def validate(args)
2424
end
2525

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

3030
if (uri.scheme != 'https' && uri.scheme != 's3' && !File.exists?(location))

spec/aws/codedeploy/local/cli_validator_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
end
8383

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

0 commit comments

Comments
 (0)