Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
composer.json Utils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Composer
library
composer.json Utils
Commits
8a4ab84e
There was a problem fetching the pipeline summary.
Commit
8a4ab84e
authored
7 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Correct the path to the project's root
parent
f4a18c4d
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Utils.php
+1
-1
1 addition, 1 deletion
Utils.php
with
1 addition
and
1 deletion
Utils.php
+
1
−
1
View file @
8a4ab84e
...
...
@@ -46,7 +46,7 @@ final class Utils {
*/
public
function
__construct
(
Composer
$composer
)
{
$this
->
composer
=
$composer
;
$this
->
sourcePath
=
$composer
->
getPackage
()
->
getTargetDir
();
$this
->
sourcePath
=
getcwd
()
.
$composer
->
getPackage
()
->
getTargetDir
();
$this
->
composerJsonPath
=
$this
->
sourcePath
.
'/composer.json'
;
$this
->
read
();
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment