Skip to content

Commit

Permalink
Remove command test of sam installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Cawllec committed Apr 25, 2024
1 parent 2ead52a commit ad460df
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions test/aws-lambda/features/support/env.rb
Original file line number Diff line number Diff line change
@@ -1,20 +1,4 @@
BeforeAll do
`command -v sam`

if $? != 0
puts <<~ERROR
The AWS SAM CLI must be installed before running these tests!
See the installation instructions:
https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html
If you have already installed the SAM CLI, check that it's in your PATH:
$ command -v sam
ERROR

exit 127
end

success = system(File.realpath("#{__dir__}/../scripts/build-fixtures"))

unless success
Expand Down

0 comments on commit ad460df

Please sign in to comment.