github / github/vscode-github-actions
Indent added if `---` is at top of yaml file (v0.26.1)
未关闭
bug
- 主要语言
- TypeScript
- 星标
- 660
- 派生
- 213
- PR 合并指标
- 30 天内没有已合并 PR
描述
**To Reproduce**
With only the GitHub Actions extension enabled, If I paste in the following .yaml file:
```yaml
---
name: Example
# rest of file
```
the editor immediately reformats the pasted text as
```yaml
---
name: Example
# rest of file
```
When the extension is disabled, the pasted test is not indented after the `---` line.
If
```yaml
name: Example
# rest of file
```
is pasted, no extra indent is added.
**Expected behavior**
Pasted text is not indented
**Extension Version**
`v0.26.1`
贡献指南
评估
这个 Issue 还没有评估数据。