Skip to content

Commit

Permalink
修正
Browse files Browse the repository at this point in the history
  • Loading branch information
liu21st committed Sep 19, 2017
1 parent b64abce commit 547e592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/command/migrate/Create.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ protected function execute(Input $input, Output $output)

// Compute the file path
$fileName = Util::mapClassNameToFileName($className);
$filePath = $path . DS . $fileName;
$filePath = $path . DIRECTORY_SEPARATOR . $fileName;

if (is_file($filePath)) {
throw new \InvalidArgumentException(sprintf('The file "%s" already exists', $filePath));
Expand Down

0 comments on commit 547e592

Please sign in to comment.