Correct spelling of macOS (#3478)

* Correct spelling of macOS

* fixup! Correct spelling of macOS

* fixup! Correct spelling of macOS
This commit is contained in:
Ammar Bandukwala 2022-08-11 20:22:06 -05:00 committed by GitHub
parent 923c212960
commit d7b96f7d58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 12 additions and 11 deletions

View File

@ -36,7 +36,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: typos-action
uses: crate-ci/typos@v1.0.4
uses: crate-ci/typos@master
with:
config: .github/workflows/typos.toml
- name: Fix Helper

View File

@ -187,10 +187,10 @@ jobs:
- name: Install dependencies
run: |
set -euo pipefail
# The version of bash that MacOS ships with is too old
# The version of bash that macOS ships with is too old
brew install bash
# The version of make that MacOS ships with is too old
# The version of make that macOS ships with is too old
brew install make
echo "$(brew --prefix)/opt/make/libexec/gnubin" >> $GITHUB_PATH

View File

@ -2,6 +2,7 @@
alog = "alog"
Jetbrains = "JetBrains"
IST = "IST"
MacOS = "macOS"
[default.extend-words]

View File

@ -1,4 +1,4 @@
// This test runs slowly on MacOS instance, and really
// This test runs slowly on macOS instance, and really
// only needs to run on Linux anyways.
//go:build linux

View File

@ -29,7 +29,7 @@ resource "coder_app" "portainer" {
![code-server in a workspace](../images/code-server-ide.png)
[code-server](https://github.com/coder/coder) is our supported method of running VS Code in the web browser. A simple way to install code-server in Linux/MacOS workspaces is via the Coder agent in your template:
[code-server](https://github.com/coder/coder) is our supported method of running VS Code in the web browser. A simple way to install code-server in Linux/macOS workspaces is via the Coder agent in your template:
```sh
# edit your template

View File

@ -112,7 +112,7 @@ We publish self-contained .zip and .tar.gz archives in [GitHub releases](https:/
1. Unzip the folder you just downloaded, and move the `coder` executable to a location that's on your `PATH`
```sh
# ex. MacOS and Linux
# ex. macOS and Linux
mv coder /usr/local/bin
```

View File

@ -8,7 +8,7 @@ Coder with Docker has the following advantages:
## Requirements
- A single MacOS or Linux box
- A single macOS or Linux box
- A running Docker daemon
## Instructions

View File

@ -51,7 +51,7 @@ coder update <workspace-name>
## Logging
Coder stores MacOS and Linux logs at the following locations:
Coder stores macOS and Linux logs at the following locations:
| Service | Location |
| ---------------- | ------------------------------- |

View File

@ -2,7 +2,7 @@
# dotfiles with Coder templates.
# The Docker aspect of the template only works
# with MacOS/Linux amd64 systems. See the full
# with macOS/Linux amd64 systems. See the full
# Docker example for details
terraform {

View File

@ -388,7 +388,7 @@ install_standalone() {
echoh "Installing v$VERSION of the $ARCH release from GitHub."
echoh
# MacOS releases are packaged as .zip
# macOS releases are packaged as .zip
case $OS in
darwin) STANDALONE_ARCHIVE_FORMAT=zip ;;
*) STANDALONE_ARCHIVE_FORMAT=tar.gz ;;

View File

@ -30,7 +30,7 @@ func startPty(cmd *exec.Cmd) (PTY, Process, error) {
_ = ptty.Close()
_ = tty.Close()
if runtime.GOOS == "darwin" && strings.Contains(err.Error(), "bad file descriptor") {
// MacOS has an obscure issue where the PTY occasionally closes
// macOS has an obscure issue where the PTY occasionally closes
// before it's used. It's unknown why this is, but creating a new
// TTY resolves it.
return startPty(cmd)