@cloud-cli/env 1.1.2 → 1.1.3

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/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -38,7 +38,7 @@ async function show(options) {
38
38
  }
39
39
  async function apps() {
40
40
  const rows = await Resource.find(EnvEntry, new Query());
41
- return rows.map(entry => entry.app);
41
+ return Array.from(new Set(rows.map(entry => entry.app)));
42
42
  }
43
43
  async function set(options) {
44
44
  const { app, key, value } = options;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud-cli/env",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Storage for app environment variables",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",