File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 41
41
"lodash" : " ^4.17.5" ,
42
42
"lz-string" : " ^1.4.4" ,
43
43
"ms" : " ^2.0.0" ,
44
- "opn " : " ^5.1 .0" ,
44
+ "open " : " ^6.3 .0" ,
45
45
"ora" : " ^1.3.0" ,
46
46
"pacote" : " ^2.7.36" ,
47
47
"shortid" : " ^2.2.8" ,
58
58
"@types/lz-string" : " ^1.3.32" ,
59
59
"@types/ms" : " ^0.7.29" ,
60
60
"@types/node" : " ^8.0.1" ,
61
- "@types/opn " : " ^3.0.28 " ,
61
+ "@types/open " : " ^6.1.0 " ,
62
62
"@types/ora" : " ^0.3.31" ,
63
63
"@types/shortid" : " ^0.0.29" ,
64
64
"@types/update-notifier" : " ^1.0.1" ,
Original file line number Diff line number Diff line change 1
1
import * as http from "http" ;
2
2
import * as inquirer from "inquirer" ;
3
3
import { omit } from "lodash" ;
4
- import * as opn from "opn " ;
4
+ import * as open from "open " ;
5
5
import ora = require( "ora" ) ;
6
6
7
7
import * as cfg from "../cfg" ;
@@ -23,7 +23,7 @@ import * as Commander from "commander";
23
23
async function handleSignIn ( ) {
24
24
// Open specific url
25
25
info ( `Opening ${ CLI_LOGIN_URL } ` ) ;
26
- opn ( CLI_LOGIN_URL , { wait : false } ) ;
26
+ open ( CLI_LOGIN_URL , { wait : false } ) ;
27
27
28
28
const { authToken } = await inquirer . prompt ( [
29
29
{
You can’t perform that action at this time.
0 commit comments