Skip to content

Commit cfd49ee

Browse files
SergeyShcherbinpolyfractal
authored andcommitted
Added output folder from SpecParser to gitignore
1 parent d44a323 commit cfd49ee

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ generator/*
2222

2323
# Elasticsearch related
2424
util/elasticsearch/
25-
util/cache/
25+
util/cache/
26+
util/output

util/SpecParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ function generateTemplate($path, $template)
189189

190190
$ret = $template->render($renderVars);
191191

192-
$dir = './output/'.implode('/', array_map('ucfirst', array_splice($namespace, 0, count($namespace)-1)));
192+
$dir = __DIR__.'/output/'.implode('/', array_map('ucfirst', array_splice($namespace, 0, count($namespace)-1)));
193193

194194
if (substr($dir, -1) !== '/') {
195195
$dir .= '/';

0 commit comments

Comments
 (0)