@cloud-cli/dx 1.7.0 → 1.7.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.
Files changed (2) hide show
  1. package/dist/config.js +3 -1
  2. package/package.json +1 -1
package/dist/config.js CHANGED
@@ -1,6 +1,8 @@
1
1
  const config = {};
2
2
  export function setConfig(newConfig) {
3
- Object.assign(config, newConfig);
3
+ if (newConfig) {
4
+ Object.assign(config, newConfig);
5
+ }
4
6
  }
5
7
  export function getConfig(name) {
6
8
  return config[name];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud-cli/dx",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "Docker container management",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",