Skip to content

Commit

Permalink
Merge pull request #160 from kayKayEhnn/fix-typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
DavidWells authored Oct 22, 2018
2 parents e148b1c + 77bda2b commit c48418a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Handle various site operations
| Subcommand | description |
|:--------------------------- |:-----|
| [`sites:create`](/docs/sites.md#sitescreate) | Create an empty site (advanced) |
| [`sites:list`](/docs/sites.md#siteslist) | List all sites you have access too |
| [`sites:list`](/docs/sites.md#siteslist) | List all sites you have access to |


### [status](/docs/status.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ netlify deploy
- `open` (*boolean*) - Open site after deploy
- `message` (*option*) - A short message to include in the deploy log
- `auth` (*option*) - An auth token to log in with
- `site` (*option*) - A site ID to deploy too
- `site` (*option*) - A site ID to deploy to

**Examples**

Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Handle various site operations
| Subcommand | description |
|:--------------------------- |:-----|
| [`sites:create`](/sites#sitescreate) | Create an empty site (advanced) |
| [`sites:list`](/sites#siteslist) | List all sites you have access too |
| [`sites:list`](/sites#siteslist) | List all sites you have access to |


### [status](/status)
Expand Down
4 changes: 2 additions & 2 deletions docs/sites.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ netlify sites
| Subcommand | description |
|:--------------------------- |:-----|
| [`sites:create`](/sites#sitescreate) | Create an empty site (advanced) |
| [`sites:list`](/sites#siteslist) | List all sites you have access too |
| [`sites:list`](/sites#siteslist) | List all sites you have access to |


**Examples**
Expand Down Expand Up @@ -51,7 +51,7 @@ netlify sites:create
---
## `sites:list`

List all sites you have access too
List all sites you have access to

**Usage**

Expand Down
8 changes: 4 additions & 4 deletions src/commands/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const SitesCreateCommand = require('./sites/create')
const LinkCommand = require('./link')

class DeployCommand extends Command {
async run() {
async run () {
const { flags } = this.parse(DeployCommand)
const { api, site, config, state } = this.netlify

Expand Down Expand Up @@ -227,12 +227,12 @@ DeployCommand.flags = {
}),
site: flags.string({
char: 's',
description: 'A site ID to deploy too',
description: 'A site ID to deploy to',
env: 'NETLIFY_SITE_ID'
})
}

function deployProgressCb() {
function deployProgressCb () {
const events = {}
/* statusObj: {
type: name-of-step
Expand Down Expand Up @@ -268,7 +268,7 @@ function deployProgressCb() {
}
}

function ensureDirectory(resolvedDeployPath, exit) {
function ensureDirectory (resolvedDeployPath, exit) {
let stat
try {
stat = fs.statSync(resolvedDeployPath)
Expand Down
2 changes: 1 addition & 1 deletion src/commands/sites/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class SitesListCommand extends Command {
}
}

SitesListCommand.description = `${renderShortDesc('List all sites you have access too')}`
SitesListCommand.description = `${renderShortDesc('List all sites you have access to')}`

SitesListCommand.flags = {
json: flags.boolean({
Expand Down

0 comments on commit c48418a

Please sign in to comment.