Skip to content

Commit

Permalink
Added output folder from SpecParser to gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyShcherbin authored and polyfractal committed May 31, 2016
1 parent d44a323 commit cfd49ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -22,4 +22,5 @@ generator/*

# Elasticsearch related
util/elasticsearch/
util/cache/
util/cache/
util/output
2 changes: 1 addition & 1 deletion util/SpecParser.php
Expand Up @@ -189,7 +189,7 @@ function generateTemplate($path, $template)

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

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

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

0 comments on commit cfd49ee

Please sign in to comment.