@quantum-hub/qhubctl 1.6.0 → 1.6.1
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/up.js +2 -2
- package/package.json +1 -1
package/dist/commands/up.js
CHANGED
|
@@ -97,7 +97,7 @@ Examples:
|
|
|
97
97
|
export const upCommand = new Command('up')
|
|
98
98
|
.description('Creates or updates a service')
|
|
99
99
|
.option('--silent', 'Suppresses all outputs, helpful when executed in a CI/CD pipeline.', false)
|
|
100
|
-
.option('--no-save-id', 'Prevents storing the created service ID in qhub.json file.'
|
|
100
|
+
.option('--no-save-id', 'Prevents storing the created service ID in qhub.json file.')
|
|
101
101
|
.option('--name <value>', 'Override the service name from qhub.json with a custom name.')
|
|
102
102
|
.addHelpText('after', EXAMPLES)
|
|
103
103
|
.action(async (opts) => {
|
|
@@ -105,7 +105,7 @@ export const upCommand = new Command('up')
|
|
|
105
105
|
const qhubService = new QuantumHubService(userConfig);
|
|
106
106
|
const silentMode = opts.silent;
|
|
107
107
|
// Commander inverts --no-save-id into opts.saveId = false
|
|
108
|
-
const noSaveId = opts.saveId
|
|
108
|
+
const noSaveId = !opts.saveId;
|
|
109
109
|
const serviceConfig = readServiceConfig(process.cwd());
|
|
110
110
|
if (!('descriptionFile' in serviceConfig)) {
|
|
111
111
|
stdout('Warning: Since version 2.14.0, the "description" property in qhub.json has changed to "descriptionFile".\nFor more information, visit: https://docs.hub.kipu-quantum.com/qhub-json-reference.html\n');
|