mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-06-25 11:53:11 +03:00
Fix format command
This commit is contained in:
@@ -45,7 +45,7 @@ func formatConfiguration(cmd *cobra.Command, args []string) {
|
|||||||
os.Stdout.WriteString(buffer.String() + "\n")
|
os.Stdout.WriteString(buffer.String() + "\n")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if !bytes.Equal(configContent, buffer.Bytes()) {
|
if bytes.Equal(configContent, buffer.Bytes()) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
output, err := os.Create(configPath)
|
output, err := os.Create(configPath)
|
||||||
|
|||||||
Reference in New Issue
Block a user