Skip to content

Commit

Permalink
fix: npm audit issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Chalkin committed Nov 19, 2019
1 parent b46a707 commit ac1bcc3
Show file tree
Hide file tree
Showing 4 changed files with 1,470 additions and 1,546 deletions.
4 changes: 2 additions & 2 deletions lib/commands/serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const serveStatic = require("serve-static");
const connect = require("connect");
const livereload = require("connect-livereload");
const lrserver = require("livereload");
const opn = require("opn");
const open = require("open");
const chalk = require("chalk");
const util = require("../util/index");
const getPort = require("get-port");
Expand Down Expand Up @@ -59,7 +59,7 @@ module.exports = function(
.watch(path);

if (openInBrowser) {
opn(`http://localhost:${port}`);
open(`http://localhost:${port}`);
}

const msg =
Expand Down
1 change: 0 additions & 1 deletion lib/commands/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
const connect = require("connect");
const serveStatic = require("serve-static");
const Renderer = require("docsify-server-renderer");
const fs = require("fs");
const util = require("../util/index");
const chalk = require("chalk");
const LRU = require("lru-cache");
Expand Down
Loading

0 comments on commit ac1bcc3

Please sign in to comment.