We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b26cf70 commit ac2ba07Copy full SHA for ac2ba07
lib/travis/vcs/perforce/clone.rb
@@ -97,7 +97,7 @@ def sparse_checkout
97
end
98
99
def dir
100
- data.slug.split('/').last
+ assembla? ? 'depot' : data.slug.split('/').last
101
102
103
def port
@@ -115,6 +115,10 @@ def ticket
115
def config
116
data.config
117
118
+
119
+ def assembla?
120
+ @assembla ||= data[:repository][:source_url].include? 'assembla'
121
+ end
122
123
124
0 commit comments