Skip to content

Commit

Permalink
fix: fix missing pkg and invalid file require
Browse files Browse the repository at this point in the history
  • Loading branch information
axetroy committed Nov 7, 2017
1 parent 941140a commit 08cb6ef
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
},
"homepage": "https://github.com/axetroy/sms-boom#readme",
"dependencies": {
"@axetroy/context": "^0.1.0",
"caporal": "^0.8.0",
"chalk": "^2.3.0",
"lodash": "^4.17.4",
Expand Down
6 changes: 2 additions & 4 deletions scripts/chromium-checker
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ console.info(`${chalk.blue('Checking Chromium')}...`);

const path = require('path');
const config = require('../config');
const isChromiumExist = require('../isChromiumExist');
const Chromium = require('../chromium');

const existed = isChromiumExist();

if (existed) {
if (Chromium.isExist) {
console.info(`${chalk.green('Chromium exist.')}`);
} else {
console.info(`${chalk.red('Chromium not exist.')}`);
Expand Down
4 changes: 4 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# yarn lockfile v1


"@axetroy/context@^0.1.0":
version "0.1.0"
resolved "http://registry.npm.taobao.org/@axetroy/context/download/@axetroy/context-0.1.0.tgz#af4d090e6e939ebd2fabb202034e0fdaa089bcb0"

"@types/node@*":
version "8.0.31"
resolved "http://registry.npm.taobao.org/@types/node/download/@types/node-8.0.31.tgz#d9af61093cf4bfc9f066ca34de0175012cfb0ce9"
Expand Down

0 comments on commit 08cb6ef

Please sign in to comment.