Skip to content

Commit 1961a37

Browse files
committed
Fix Quotes.
1 parent fea7dc2 commit 1961a37

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

README.md

+5-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Composer Custom Type Installer
22
==============================
3-
Adds a root-level custom [type](https://getcomposer.org/doc/04-schema.md#type) installer path to composer.json. Any custom type can be used to define a path the [type](https://getcomposer.org/doc/04-schema.md#type) should be installed in.
3+
Adds a root-level custom [type](https://getcomposer.org/doc/04-schema.md#type) installer path to composer.json. Any custom type can be used to define a path the [type](https://getcomposer.org/doc/04-schema.md#type) should be installed in.
44

55
## Installation
66
Simply require this library in your composer.json file. Typically this will be added as a dependency of the custom [type](https://getcomposer.org/doc/04-schema.md#type) to ensure that the library is loaded before the library that needs it. However, this can be added to the root composer.json, as long as it goes before any library that needs it.
@@ -11,20 +11,17 @@ Simply require this library in your composer.json file. Typically this will be a
1111
```
1212

1313
## Usage
14-
The added parameter(s) are only allowed on the root to avoid conflicts between multiple libraries. This also prevents a project owner from having a directory accidentally wiped out by a library.
14+
The added parameter(s) are only allowed on the root to avoid conflicts between multiple libraries. This also prevents a project owner from having a directory accidentally wiped out by a library.
1515

1616
#### custom-installer (root-level)
17-
You may use [Composer Installer](https://github.com/composer/installers) type [installation paths](https://github.com/composer/installers#custom-install-paths) with the variables `{$name}`, `{$vendor}`, and `{$type}`. Each package will go in it’s respective folder in the order in which they are installed.
17+
You may use [Composer Installer](https://github.com/composer/installers) type [installation paths](https://github.com/composer/installers#custom-install-paths) with the variables `{$name}`, `{$vendor}`, and `{$type}`. Each package will go in it’s respective folder in the order in which they are installed.
1818

1919
```json
2020
"extra": {
2121
"custom-installer": {
2222
"drupal-core": "web/",
23-
"drupal-site": "web/sites/{$name}/,
24-
random-type”: “custom/{$type}/{$vendor}/{$name}/
23+
"drupal-site": "web/sites/{$name}/",
24+
"random-type": "custom/{$type}/{$vendor}/{$name}/"
2525
}
2626
}
2727
```
28-
29-
30-

0 commit comments

Comments
 (0)