fmt: format the print and save script changes

This commit is contained in:
dotCooCoo committed 2026-11-29 14:28:06 -08:00
1 parent c6b5899534
commit 9fb8974575
3 files changed
+7 -15

No files matched your search

+1 -5
View File
@@ -103,11 +103,7 @@ fn script_file_commands_refuse_non_utf8_resolved_paths() {
std::os::unix::fs::symlink(&target, &link).unwrap();
let lossy = PathBuf::from(target.to_string_lossy().into_owned());
std::fs::write(&lossy, &bytes).unwrap();
for call in [
"app.activeDocument.saveAs(f);",
"app.activeDocument.exportFile(f, ExportType.SVG);",
"app.open(f);",
] {
for call in ["app.activeDocument.saveAs(f);", "app.activeDocument.exportFile(f, ExportType.SVG);", "app.open(f);"] {
let alias = if call.contains("exportFile") {
let alias = dir.join("alias.svg");
std::os::unix::fs::symlink(&target, &alias).unwrap();