github / github/vscode-github-actions

Indent added if `---` is at top of yaml file (v0.26.1)

未關閉
#248 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
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 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。