Skip to content

Commit 60d6b6d

Browse files
committed
[INTERNAL] Typos fix
1 parent d4a3f78 commit 60d6b6d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/middleware/discovery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function createMiddleware({resources}) {
108108
sendResponse();
109109
});
110110
} else {
111-
next(new Error(`Unkown discovery type "${type}"`));
111+
next(new Error(`Unknown discovery type "${type}"`));
112112
}
113113
};
114114
}

lib/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const ReaderCollectionPrioritized = ui5Fs.ReaderCollectionPrioritized;
1010
/**
1111
* Returns a promise resolving by starting the server.
1212
*
13-
* @param {Object} app The express applicaton object
13+
* @param {Object} app The express application object
1414
* @param {number} port Desired port to listen to
1515
* @param {boolean} changePortIfInUse If true and the port is already in use, an unused port is searched
1616
* @param {boolean} acceptRemoteConnections If true, listens to remote connections and not only to localhost connections

test/lib/server/middleware/middlewareRepository.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ test("getMiddleware", async (t) => {
77
t.is(res, cspModule, "Returned correct middleware module");
88
});
99

10-
test("getMiddleware: Unkown middleware", async (t) => {
10+
test("getMiddleware: Unknown middleware", async (t) => {
1111
const err = t.throws(() => {
1212
middlewareRepository.getMiddleware("🐬");
1313
});

0 commit comments

Comments
 (0)