Skip to content

Commit 7b1bdda

Browse files
committed
fix: Remove unwanted verbose requirement when failing to update authorization resource
1 parent 4455382 commit 7b1bdda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/shell/commands/perms.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,15 @@ export default class PermsCommand extends SolidCommand {
126126
await setPermission(url, [permission], options)
127127
return;
128128
} catch (e) {
129-
if (options.verbose) writeErrorString(`Could not set permissions for ${permission.id} using ACP`, e, options)
129+
writeErrorString(`Could not set permissions for ${permission.id} using ACP`, e, options)
130130
}
131131
}
132132
if (acl) {
133133
try {
134134
await acl_perms.changePermissions(url, [permission], options)
135135
return;
136136
} catch (e) {
137-
if (options.verbose) writeErrorString(`Could not set permissions for ${permission.id} using WAC`, e, options)
137+
writeErrorString(`Could not set permissions for ${permission.id} using WAC`, e, options)
138138
}
139139
}
140140
}

0 commit comments

Comments
 (0)