Skip to content

Commit 8bcfaf0

Browse files
SergeyShcherbinpolyfractal
authored andcommitted
getApiPath function returns path without trailing slash
1 parent cfd49ee commit 8bcfaf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/SpecParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
function getApiPath()
1414
{
15-
$path = dirname(__FILE__).'/elasticsearch/rest-api-spec/api/';
15+
$path = dirname(__FILE__).'/elasticsearch/rest-api-spec/api';
1616
if (file_exists($path) !== true) {
1717
$path = dirname(__FILE__).'/elasticsearch/rest-api-spec/src/main/resources/rest-api-spec/api';
1818
}

0 commit comments

Comments
 (0)