tiro-notes 0.27.25 → 0.27.26

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/cli.js +4 -6
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -60,23 +60,21 @@ const startSshTunnel = (argsObj) => {
60
60
  if (!cb1) return
61
61
  cb1 = false
62
62
 
63
+ // check if autossh is working
63
64
  tHelpers.execCmd('autossh', [`--help`], {
64
65
  logName:'tunnel 2',
65
66
  onLog: str => {
66
67
  if (!cb2) return
67
68
  cb2 = false
69
+ // start autossh finally
68
70
  tHelpers.execCmd('autossh',['-M','20000','-N', argsObj.tunnel.remoteUrl,'-R', `${argsObj.tunnel.remotePort}:localhost:${argsObj.port}`,'-C'], {
69
71
  logName:'tunnel 3'
70
72
  })
71
73
  }
72
74
  })
73
-
74
75
  }
75
- }
76
- })
77
-
78
- // check if autossh is working
79
-
76
+ })
77
+ }
80
78
  }
81
79
 
82
80
  // Main script
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tiro-notes",
3
- "version": "0.27.25",
3
+ "version": "0.27.26",
4
4
  "description": "Tiro Notes for CLI",
5
5
  "scripts": {
6
6
  "clean-previous-build": "rm -r node-build",