@beauraines/rtm-cli 1.8.3 → 1.8.4

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.8.4](https://github.com/beauraines/rtm-cli/compare/v1.8.3...v1.8.4) (2023-08-03)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * Revert "not opening url links" ([#60](https://github.com/beauraines/rtm-cli/issues/60)) ([1ed0731](https://github.com/beauraines/rtm-cli/commit/1ed0731ed2dd08682b9dd486ddf89e5ac60cb2f7)), closes [beauraines/rtm-cli#58](https://github.com/beauraines/rtm-cli/issues/58)
11
+
5
12
  ### [1.8.3](https://github.com/beauraines/rtm-cli/compare/v1.8.2...v1.8.3) (2023-08-03)
6
13
 
7
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beauraines/rtm-cli",
3
- "version": "1.8.3",
3
+ "version": "1.8.4",
4
4
  "description": "RTM CLI",
5
5
  "keywords": [
6
6
  "rtm",
package/src/cli.js CHANGED
@@ -181,7 +181,7 @@ function parseCmd(command) {
181
181
  let env = undefined;
182
182
  for ( let i = 0; i < arguments.length; i++ ) {
183
183
  let arg = arguments[i];
184
- if ( typeof arg === 'object' && !Array.isArray(arg) && !arg._events) {
184
+ if ( typeof arg === 'object' && !Array.isArray(arg) ) {
185
185
  env = arg;
186
186
  }
187
187
  else if ( Array.isArray(arg) && arg.length > 0 ) {
package/src/cmd/url.js CHANGED
@@ -6,7 +6,6 @@ const finish = require('../utils/finish.js');
6
6
  const filter = require('../utils/filter');
7
7
  const { indexPrompt } = require('../utils/prompt')
8
8
  const open = require('open');
9
- const debug = require('debug')('rtm-cli-url');
10
9
 
11
10
 
12
11
  let URLS = [];
@@ -25,7 +24,7 @@ async function action(args, env) {
25
24
 
26
25
  // Set Open flag
27
26
  OPEN = env.open === undefined ? false : env.open;
28
- debug(OPEN)
27
+
29
28
  const user = config.user(user => user)
30
29
 
31
30
  let indices = []
@@ -60,7 +59,6 @@ async function action(args, env) {
60
59
  }
61
60
  }
62
61
  }
63
- debug(URLS)
64
62
  // Print URLs
65
63
  log.spinner.stop();
66
64
  for ( let i = 0; i < URLS.length; i++ ) {