summaryrefslogtreecommitdiff
path: root/lib/leap_cli/commands
diff options
context:
space:
mode:
Diffstat (limited to 'lib/leap_cli/commands')
-rw-r--r--lib/leap_cli/commands/deploy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/deploy.rb b/lib/leap_cli/commands/deploy.rb
index 855a820..6589837 100644
--- a/lib/leap_cli/commands/deploy.rb
+++ b/lib/leap_cli/commands/deploy.rb
@@ -264,7 +264,7 @@ module LeapCli
end
if prefix
- includes.map! {|path| path.sub(/^#{Regexp.escape(prefix)}/, '')}
+ includes.map! {|path| path.sub(/^#{Regexp.escape(prefix)}\//, '/')}
end
return includes