Skip to content

Commit

Permalink
Use DIRECTORY_SEPARATOR constant
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiandedeyne committed Feb 13, 2018
1 parent 1f5187d commit 777b54c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Engines/Node.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ public function getDispatchHandler(): string

protected function createTempFilePath(): string
{
return $this->tempPath.'/'.md5(time()).'.js';
return implode(DIRECTORY_SEPARATOR, [$this->tempPath, md5(time()).'.js']);
}
}

0 comments on commit 777b54c

Please sign in to comment.