Skip to content

Commit

Permalink
Updated open dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
PKief committed May 13, 2019
1 parent 22a83ed commit dfa3c06
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
},
"dependencies": {
"lodash.merge": "^4.6.1",
"opn": "^5.5.0",
"open": "^6.3.0",
"semver": "^5.6.0"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions src/messages/outdated.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as opn from 'opn';
import * as open from 'open';
import * as vscode from 'vscode';
import * as i18n from './../i18n';

Expand All @@ -11,11 +11,11 @@ export const showOutdatedMessage = () => {
const handleActivateActions = (value) => {
switch (value) {
case i18n.translate('howToActivate'):
opn('https://code.visualstudio.com/blogs/2016/09/08/icon-themes#_file-icon-themes');
open('https://code.visualstudio.com/blogs/2016/09/08/icon-themes#_file-icon-themes');
break;

case i18n.translate('updateVSCode'):
opn('https://code.visualstudio.com/download');
open('https://code.visualstudio.com/download');
break;

default:
Expand Down
4 changes: 2 additions & 2 deletions src/messages/update.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as opn from 'opn';
import * as open from 'open';
import * as vscode from 'vscode';
import { activateIcons } from '../commands/activate';
import * as helpers from './../helpers';
Expand Down Expand Up @@ -30,7 +30,7 @@ const handleUpdateMessageActions = (value) => {
break;

case i18n.translate('readChangelog'):
opn('https://marketplace.visualstudio.com/items/PKief.material-icon-theme/changelog');
open('https://marketplace.visualstudio.com/items/PKief.material-icon-theme/changelog');
break;

case i18n.translate('neverShowAgain'):
Expand Down
4 changes: 2 additions & 2 deletions src/messages/welcome.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as opn from 'opn';
import * as open from 'open';
import * as vscode from 'vscode';
import { activateIcons } from '../commands/activate';
import * as helpers from './../helpers';
Expand Down Expand Up @@ -29,7 +29,7 @@ const handleWelcomeMessageActions = (value) => {
break;

case i18n.translate('howToActivate'):
opn('https://code.visualstudio.com/blogs/2016/09/08/icon-themes#_file-icon-themes');
open('https://code.visualstudio.com/blogs/2016/09/08/icon-themes#_file-icon-themes');
break;

case i18n.translate('neverShowAgain'):
Expand Down

0 comments on commit dfa3c06

Please sign in to comment.