aranea-sdk-cli 0.3.13 → 0.3.14
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/commands/schema.js +4 -4
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/commands/schema.js
CHANGED
|
@@ -734,8 +734,8 @@ exports.schemaCommand
|
|
|
734
734
|
console.log(chalk_1.default.gray('Remove --dry-run to actually promote'));
|
|
735
735
|
return;
|
|
736
736
|
}
|
|
737
|
-
// Confirmation step
|
|
738
|
-
if (!options.confirm) {
|
|
737
|
+
// Confirmation step (skip if --confirm or --force)
|
|
738
|
+
if (!options.confirm && !options.force) {
|
|
739
739
|
console.log(chalk_1.default.red('This will promote the schema to PRODUCTION state.'));
|
|
740
740
|
console.log(chalk_1.default.red('Existing devices using this schema type will be affected.'));
|
|
741
741
|
console.log('');
|
|
@@ -1031,8 +1031,8 @@ exports.schemaCommand
|
|
|
1031
1031
|
console.log(chalk_1.default.gray('Remove --dry-run to actually rollback'));
|
|
1032
1032
|
return;
|
|
1033
1033
|
}
|
|
1034
|
-
// Confirmation step
|
|
1035
|
-
if (!options.confirm) {
|
|
1034
|
+
// Confirmation step (skip if --confirm or --force)
|
|
1035
|
+
if (!options.confirm && !options.force) {
|
|
1036
1036
|
console.log(chalk_1.default.red('This will rollback the schema to a previous version.'));
|
|
1037
1037
|
console.log(chalk_1.default.red('The current version will be saved in history.'));
|
|
1038
1038
|
console.log('');
|
package/dist/index.js
CHANGED