@koda-sl/baker-cli 0.111.0-dev.ba213566d → 0.111.0-dev.cddbc8759
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +1 -2
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -4552,8 +4552,7 @@ function requireCustomerId(args) {
|
|
|
4552
4552
|
return raw;
|
|
4553
4553
|
}
|
|
4554
4554
|
function requireTarget(args, entity) {
|
|
4555
|
-
const
|
|
4556
|
-
const target = args.id ?? args.target ?? positional;
|
|
4555
|
+
const target = args.id ?? args.target ?? args._?.[0];
|
|
4557
4556
|
if (typeof target !== "string" || target.length === 0) {
|
|
4558
4557
|
failWriteValidation(`pass the ${entity} resource name or id as the positional argument`);
|
|
4559
4558
|
}
|