Skip to content

Commit

Permalink
Add a lot of backticks around code
Browse files Browse the repository at this point in the history
Co-Authored-By: Enrique Piqueras <epiqueras@users.noreply.github.com>
  • Loading branch information
noahtallen and epiqueras committed Feb 17, 2020
1 parent fb25738 commit bb183bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/env/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ $ wp-env start

## Command reference

`wp-env` creates generated files in the wp-env home directory. By default, this is `~/.wp-env`. The exception is Linux, where files are placed at `~/wp-env` [for compatibility with Snap Packages](https://github.com/WordPress/gutenberg/issues/20180#issuecomment-587046325). The wp-env home directory contains a subdirectory for each project named `/$md5_of_project_path`. To change the wp-env home directory, set the `WP_ENV_HOME` environment variable. For example, running `WP_ENV_HOME="something" wp-env start` will download the project files to the directory `./something/$md5_of_project_path` (relative to the current directory).
`wp-env` creates generated files in the `wp-env` home directory. By default, this is `~/.wp-env`. The exception is Linux, where files are placed at `~/wp-env` [for compatibility with Snap Packages](https://github.com/WordPress/gutenberg/issues/20180#issuecomment-587046325). The `wp-env` home directory contains a subdirectory for each project named `/$md5_of_project_path`. To change the `wp-env` home directory, set the `WP_ENV_HOME` environment variable. For example, running `WP_ENV_HOME="something" wp-env start` will download the project files to the directory `./something/$md5_of_project_path` (relative to the current directory).

### `wp-env start [ref]`

Expand Down
4 changes: 2 additions & 2 deletions packages/env/lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,12 +286,12 @@ function getNumberFromEnvVariable( varName ) {
}

/**
* Gets the wp-env home directory in which generated files are created.
* Gets the `wp-env` home directory in which generated files are created.
*
* By default, '~/.wp-env/'. On Linux, '~/wp-env/'. Can be overriden with the
* WP_ENV_HOME environment variable.
*
* @return {string} The absolute path to the wp-env home directory.
* @return {string} The absolute path to the `wp-env` home directory.
*/
function getWpEnvHomeDir() {
// Allow user to override download location.
Expand Down

0 comments on commit bb183bf

Please sign in to comment.