feat: add tags workflow
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import * as yaml from "js-yaml";
|
||||
import type { ProjectConfig } from "@/model/projectConfig";
|
||||
|
||||
export function serializeProjectConfig(config: ProjectConfig): string {
|
||||
return yaml
|
||||
.dump(
|
||||
{ tags: config.tags },
|
||||
{
|
||||
lineWidth: -1,
|
||||
forceQuotes: false,
|
||||
},
|
||||
)
|
||||
.trimEnd()
|
||||
.concat("\n");
|
||||
}
|
||||
Reference in New Issue
Block a user