

```java
YamlUtil.dump(prometheusConfig, fileWriter);
```

![image](https://github.com/dromara/hutool/assets/59637162/6ce9b044-27b7-48d2-96f6-52cba6764b97)

YamlUtil.dump写入文件之后第一行会有个!!xxxx这个东西，怎么去掉？
This is a GitHub Issue
repo:hutool
owner:dromara
Title : YamlUtil.dump写入文件之后第一行会有个!!xxxx这个东西，怎么去掉？
Issue date:

--- start body ---


```java
YamlUtil.dump(prometheusConfig, fileWriter);
```

![image](https://github.com/dromara/hutool/assets/59637162/6ce9b044-27b7-48d2-96f6-52cba6764b97)

--- end body ---
