Skip to content

Commit 8436f47

Browse files
iamFIREcrackerothree
authored andcommitted
Fix typo
1 parent ab794f7 commit 8436f47

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bin/tern

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Starts a Tern server and wraps it in an HTTP wrapper
66
// so that editor plug-ins can talk to it.
77

8-
var boostrapServer = require('../lib/bootstrap');
8+
var bootstrapServer = require('../lib/bootstrap');
99
var fs = require("fs"), path = require("path"), url = require("url");
1010

1111
var portFileName = ".tern-port";
@@ -57,7 +57,7 @@ var serverConfig = {
5757
parent: { httpServer: httpServer }
5858
}
5959
};
60-
var server = boostrapServer(serverConfig);
60+
var server = bootstrapServer(serverConfig);
6161

6262
function doShutdown() {
6363
if (persistent) return;

lib/bootstrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ function startServer(dir, config, options) {
147147
return server;
148148
}
149149

150-
module.exports = function boostrapServer(options) {
150+
module.exports = function bootstrapServer(options) {
151151
var projectDir = options.projectDir;
152152
if (!projectDir) {
153153
projectDir = findProjectDir();

0 commit comments

Comments
 (0)