Browse Source

Use DS for paths.

euromark 11 years ago
parent
commit
d910e02df6
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/Shell/Task/PluginTask.php
  2. 1 1
      src/Shell/Task/ProjectTask.php

+ 1 - 1
src/Shell/Task/PluginTask.php

@@ -323,7 +323,7 @@ class PluginTask extends BakeTask {
 		)->addArgument('name', [
 			'help' => 'CamelCased name of the plugin to create.'
 		])->addOption('composer', [
-			'default' => ROOT . '/composer.phar',
+			'default' => ROOT . DS . 'composer.phar',
 			'help' => 'The path to the composer executable.'
 		])->removeOption('plugin');
 

+ 1 - 1
src/Shell/Task/ProjectTask.php

@@ -170,7 +170,7 @@ class ProjectTask extends BakeTask {
 				'short' => 't',
 				'help' => 'Template to use when baking code.'
 			])->addOption('composer', [
-				'default' => ROOT . '/composer.phar',
+				'default' => ROOT . DS . 'composer.phar',
 				'help' => 'The path to the composer executable.'
 			])->removeOption('plugin');
 	}