lib/rspec/terraspace/project.rb in rspec-terraspace-0.3.1 vs lib/rspec/terraspace/project.rb in rspec-terraspace-0.3.2
- old
+ new
@@ -131,10 +131,10 @@
end
# Returns: modules or stacks
def detected_type
dir = Dir.pwd
- md = dir.match(%r{app/(stacks|modules)/(.*)?/})
+ md = dir.match(%r{app/(stacks|modules)/(.*)?/?})
md[1]
end
# Inputs:
#