Skip to content

Commit d823a07

Browse files
committed
fix(grammar): isOpen --> openInBrowser
1 parent 805f8a0 commit d823a07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/commands/serve.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const util = require('../util/index')
99
var exists = util.exists
1010
var resolve = util.resolve
1111

12-
module.exports = function (path, isOpen, port) {
12+
module.exports = function (path, openInBrowser, port) {
1313
path = resolve(path || '.')
1414
var indexFile = resolve(path, 'index.html')
1515

@@ -28,7 +28,7 @@ module.exports = function (path, isOpen, port) {
2828
exts: ['md']
2929
}).watch(path)
3030

31-
if (isOpen) {
31+
if (openInBrowser) {
3232
open(`http://localhost:${port}`)
3333
}
3434

0 commit comments

Comments
 (0)