🌴 Sync 2026-03-18 23:56:09

This commit is contained in:
github-actions[bot] committed 2026-03-18 23:56:09 +08:00
1 parent 79996b4e00
commit 94f2e1059b
9 files changed
+21 -11

No files matched your search

@@ -41,7 +41,7 @@ const methods = {
const tmpFilepath = '/var/run/nikki/profile.json';
if (access(filepath, 'r')) {
writefile(tmpFilepath, defaults);
const command = `yq -p yaml -o json eval-all 'select(fi == 0) *? select(fi == 1)' ${tmpFilepath} ${filepath}`;
const command = `yq -M -p yaml -o json eval-all 'select(fi == 0) *? select(fi == 1)' ${tmpFilepath} ${filepath}`;
const process = popen(command);
if (process) {
profile = json(process);