@circleback/cli 0.1.1 → 0.1.2

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.
@@ -107,8 +107,9 @@ const login = async () => {
107
107
  authorizeUrl.searchParams.set('code_challenge_method', 'S256');
108
108
  const url = authorizeUrl.toString();
109
109
  const isWindows = process.platform === 'win32';
110
+ const escapedUrl = isWindows ? url.replace(/&/g, '^&') : url;
110
111
  const [command, ...arguments_] = isWindows
111
- ? ['start', '', url]
112
+ ? ['start', '', escapedUrl]
112
113
  : process.platform === 'darwin'
113
114
  ? ['open', url]
114
115
  : ['xdg-open', url];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@circleback/cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Circleback CLI. Search and access meetings, emails, calendar events, and more.",
5
5
  "license": "MIT",
6
6
  "author": "Circleback <support@circleback.ai> (https://circleback.ai)",