lib/souls/cli/docker/index.rb in souls-1.8.3 vs lib/souls/cli/docker/index.rb in souls-1.8.4
- old
+ new
@@ -10,12 +10,10 @@
-e POSTGRES_PASSWORD=postgres \
-e POSTGRES_DB=souls_test \
postgres:13-alpine"
)
system("docker ps")
- rescue Thor::Error => e
- raise(Thor::Error, e)
end
desc "mysql", "Run MySQL Docker Container"
def mysql
system(
@@ -26,10 +24,8 @@
-e MYSQL_ROOT_PASSWORD=mysql \
-e MYSQL_DB=souls_test \
mysql:latest"
)
system("docker ps")
- rescue Thor::Error => e
- raise(Thor::Error, e)
end
end
end