@@ -66,11 +66,11 @@ discard block |
||
| 66 | 66 | $fileRelativePath = sprintf( |
| 67 | 67 | '%s/%s%s%s.md', |
| 68 | 68 | $this->getBuilder($output)->getConfig()->get('content.dir'), |
| 69 | - !$dirname ?: $dirname . '/', |
|
| 69 | + !$dirname ?: $dirname.'/', |
|
| 70 | 70 | $datePrefix, |
| 71 | 71 | $filename |
| 72 | 72 | ); |
| 73 | - $filePath = $this->getPath() . '/' . $fileRelativePath; |
|
| 73 | + $filePath = $this->getPath().'/'.$fileRelativePath; |
|
| 74 | 74 | |
| 75 | 75 | // file already exists? |
| 76 | 76 | if ($this->fs->exists($filePath) && !$force) { |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | $fileContent = str_replace( |
| 89 | 89 | ['%title%', '%date%'], |
| 90 | 90 | [$title, $date], |
| 91 | - $this->findModel(sprintf('%s%s', !$dirname ?: $dirname . '/', $filename)) |
|
| 91 | + $this->findModel(sprintf('%s%s', !$dirname ?: $dirname.'/', $filename)) |
|
| 92 | 92 | ); |
| 93 | 93 | $this->fs->dumpFile($filePath, $fileContent); |
| 94 | 94 | $output->writeln(sprintf('File "%s" created.', $fileRelativePath)); |