We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 255ee12 commit ae116c7Copy full SHA for ae116c7
src/PatternLab/Console/Commands/FetchCommand.php
src/PatternLab/Fetch.php
@@ -23,24 +23,6 @@
23
24
class Fetch {
25
26
- /**
27
- * Fetch a package using Composer
28
- * @param {String} the path to the package to be downloaded
29
- *
30
- * @return {String} the modified file contents
31
- */
32
- public function fetchPackage($package = "") {
33
-
34
- if (empty($package)) {
35
- Console::writeError("please provide a path for the package before trying to fetch it...");
36
- }
37
38
- // run composer
39
- $composerPath = Config::getOption("coreDir").DIRECTORY_SEPARATOR."bin/composer.phar";
40
- passthru("php ".$composerPath." require ".$package);
41
42
43
44
/**
45
* Fetch a package from GitHub
46
* @param {String} the command option to provide the rule for
0 commit comments