Skip to content

Commit

Permalink
Clean up Docs typos (incorrect "its", "reenable" > "reenabled") (cypr…
Browse files Browse the repository at this point in the history
…ess-io#1689)

* typo "can not" -> "cannot"

* typo "can not" -> "cannot"

* typo "can not" -> "cannot"

* typo "can not" -> "cannot"

* typo "can not" -> "cannot"

* typo "can not" -> "cannot"

* add ["can[- ]not", "cannot$1"]

add ["can[- ]not", "cannot$1"] to change "can not" to "cannot"

* its -> it is

* its -> it's

* its -> it is

* Update url_generator.js

* Fix typo reenable > reenabled

* Fix typo reenable > reenabled
  • Loading branch information
calvinballing authored and jennifer-shehane committed May 20, 2019
1 parent d931396 commit ed091ce
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function initHexo () {

// hexo does this weird thing where it literally sets
// an 'env' property on the 'env' object
// so we take that into account (and any other way its set)
// so we take that into account (and any other way it is set)
const env = hexo.env.NODE_ENV || hexo.env.env || process.env.NODE_ENV || 'development'

// https://github.com/mamboer/hexo-filter-cleanup
Expand Down
2 changes: 1 addition & 1 deletion lib/url_generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ function validateAndGetUrl (sidebar, href, source, text, render) {

return validateLocalFile(sidebar, href, source, render)
.then((pathToFile) => {
// cache this once its been locally resolved
// cache this once it has been locally resolved
return keyv.set(href, pathToFile, hours(CACHE_HOURS))
.then(() => {
return pathToFile
Expand Down
2 changes: 1 addition & 1 deletion source/_changelogs/0.19.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

**Misc:**

- {% url '`cypress run`' command-line#cypress-run %} will now download and install Cypress if its not already installed.
- {% url '`cypress run`' command-line#cypress-run %} will now download and install Cypress if it is not already installed.
- We renamed `CYPRESS_CI_KEY` TO `CYPRESS_RECORD_KEY`. This makes it clearer what this key actually does - and the fact that it can be run anywhere irrespective of CI. We still look for the old named key but will print a warning if we detect it.
- We print a warning when using an older CLI tool version. Fixes {% issue 424 '#424' %}.
- We've improved many of the error messages related to recording runs. Fixes {% issue 423 '#423' %}.
Expand Down
2 changes: 1 addition & 1 deletion source/_changelogs/3.3.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

- We now better support capturing environment variables within Azure DevOps. Addresses {% issue 3657 %}.
- Cypress now only scans for spec changes when the watcher sees changes, rather than polling to scan. Addresses {% issue 3069 %}.
- The ability to open the context menu to see "Inspect Element" has been reenable in the Electron browser. Addresses {% issue 4002 %}.
- The ability to open the context menu to see "Inspect Element" has been reenabled in the Electron browser. Addresses {% issue 4002 %}.
- We no longer package non-Windows `ffmpeg` builds with Windows builds, resulting in a 35-40% reduction in zipped size and a 36-43% reduction in unzipped size of download. Addresses {% issue 3888 %}.
- When an HTTP request is received by the proxy layer, by default, we send it with a `Connection: keep-alive` header so that the connection will be reused if possible. Addresses {% issue 3857 %}.
- Improved accessibility of Test Runner for screen readers. Addresses {% issue 3850 %}.
Expand Down
2 changes: 1 addition & 1 deletion source/api/commands/wait.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ You almost **never** need to wait for an arbitrary period of time. There are alw
Read about {% url 'best practices' best-practices#Unnecessary-Waiting %} here.
{% endnote %}

Additionally, its often much easier to use {% url `cy.debug()` debug %} or {% url `cy.pause()` pause %} when debugging your test code.
Additionally, it is often much easier to use {% url `cy.debug()` debug %} or {% url `cy.pause()` pause %} when debugging your test code.

## Alias

Expand Down
2 changes: 1 addition & 1 deletion source/zh-cn/3.3.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

- We now better support capturing environment variables within Azure DevOps. Addresses {% issue 3657 %}.
- Cypress now only scans for spec changes when the watcher sees changes, rather than polling to scan. Addresses {% issue 3069 %}.
- The ability to open the context menu to see "Inspect Element" has been reenable in the Electron browser. Addresses {% issue 4002 %}.
- The ability to open the context menu to see "Inspect Element" has been reenabled in the Electron browser. Addresses {% issue 4002 %}.
- We no longer package non-Windows `ffmpeg` builds with Windows builds, resulting in a 35-40% reduction in zipped size and a 36-43% reduction in unzipped size of download. Addresses {% issue 3888 %}.
- When an HTTP request is received by the proxy layer, by default, we send it with a `Connection: keep-alive` header so that the connection will be reused if possible. Addresses {% issue 3857 %}.
- Improved accessibility of Test Runner for screen readers. Addresses {% issue 3850 %}.
Expand Down

0 comments on commit ed091ce

Please sign in to comment.