github / github/vscode-github-actions

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

Abierto
#248 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
TypeScript
Estrellas
660
Forks
213
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**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`

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.