Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 8aadb37

Browse files
committed
fix(plugins/plugin-ibmcloud): ibmcloud cos validate misbehaves in reexecuted notebooks
Fixes #5974
1 parent 12eed22 commit 8aadb37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/plugin-ibmcloud/cos/src/controller/validate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default async function(args: Arguments) {
2727
const config = await readConfig(args)
2828

2929
if (isGoodConfig(config)) {
30-
if (args.execOptions.type === ExecType.TopLevel) {
30+
if (args.execOptions.type !== ExecType.Nested) {
3131
return strings('validCreds')
3232
} else {
3333
return config

0 commit comments

Comments
 (0)