Skip to content

Commit 45bb77f

Browse files
committed
prettier fix
1 parent fcda431 commit 45bb77f

File tree

3 files changed

+22
-20
lines changed

3 files changed

+22
-20
lines changed

docs/Ch03/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Do you want to continue? [Y/n]
149149
具体有关权限的知识点将在[第五章](../Ch05/index.md)展开。
150150

151151
!!! tip "不确认安装"
152-
如果不希望 `apt` 询问是否安装,可以使用
152+
如果不希望 `apt` 询问是否安装,可以使用
153153

154154
```bash
155155
apt install -y <软件包>
@@ -470,7 +470,7 @@ Ubuntu 官方源位于国外,往往会有速度与延迟上的限制,可以
470470
在上面的复制过程中,源目录和目标目录的两个 `bin` 目录会相互合并,`clang` 和 `clang++` 两个可执行文件也就被复制到了 `/usr/local/bin/` 目录中。这样子也就达到了我们希望能够在任意地方调用我们的可执行文件的目的。此外,在复制的时候 lib、doc 等文件夹也会和 `/usr/local` 下的对应目录合并,将 clang 的库和文档加到系统当中。
471471

472472
!!! warning "有关手工获取的软件"
473-
对于手工从 Internet 或者其他来源获取到的软件,在使用前务必注意检查其完整性(例如检查压缩文件的 hash 和官方网站上提供的是否一致)和安全性。运行有问题的程序,或者特别是安装有问题的程序(例如上面那样安装到 `/usr/local`),会导致系统安全受到损害。如非必要,请尽可能使用包管理器从官方软件源中安装软件。
473+
对于手工从 Internet 或者其他来源获取到的软件,在使用前务必注意检查其完整性(例如检查压缩文件的 hash 和官方网站上提供的是否一致)和安全性。运行有问题的程序,或者特别是安装有问题的程序(例如上面那样安装到 `/usr/local`),会导致系统安全受到损害。如非必要,请尽可能使用包管理器从官方软件源中安装软件。
474474

475475
### 更多用法 {#more-usage}
476476

@@ -636,7 +636,7 @@ $ mv [OPTION] SOURCE... DIRECTORY
636636
| `-u`, `--update` | 仅当源文件比目标文件新才进行移动 |
637637

638638
!!! tip "重命名"
639-
`mv` 命令可以作为对文件或目录重命名的方式。例如,`mv oldname newname` 可以将 `oldname` 的文件或目录重命名为 `newname`
639+
`mv` 命令可以作为对文件或目录重命名的方式。例如,`mv oldname newname` 可以将 `oldname` 的文件或目录重命名为 `newname`
640640

641641
### 删除文件和目录 {#rm}
642642

@@ -675,8 +675,8 @@ $ rm [OPTION] FILE...
675675
```
676676

677677
!!! warning "注意目录拼写"
678-
使用 `rm` 删除时,请务必注意目录拼写。例如:
679-
678+
使用 `rm` 删除时,请务必注意目录拼写。例如:
679+
680680
```shell
681681
$ rm -rf /home/ustc/folder # 删除 folder
682682
$ rm -rf / home/ustc/folder # 删除根目录下的所有文件和 home/ustc/folder 及其中的文件:这很危险!

package-lock.json

Lines changed: 10 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,19 @@
33
"version": "0.0.1",
44
"description": "Prettier package.json for ustclug Linux 101 website",
55
"scripts": {
6-
"check": "prettier . --check",
7-
"fix": "prettier . --write"
6+
"check": "prettier . --check",
7+
"fix": "prettier . --write"
88
},
99
"repository": {
10-
"type": "git",
11-
"url": "git+https://github.com/ustclug/Linux101-docs.git"
10+
"type": "git",
11+
"url": "git+https://github.com/ustclug/Linux101-docs.git"
1212
},
1313
"license": "CC BY-SA 4.0",
1414
"bugs": {
15-
"url": "https://github.com/ustclug/Linux101-docs/issues"
15+
"url": "https://github.com/ustclug/Linux101-docs/issues"
1616
},
1717
"homepage": "https://101.lug.ustc.edu.cn",
1818
"devDependencies": {
19-
"prettier": "^2.5.1"
19+
"prettier": "^2.8.8"
2020
}
21-
}
22-
21+
}

0 commit comments

Comments
 (0)