Skip to content

Commit 1b4b004

Browse files
committed
Lint examples
1 parent f6a4204 commit 1b4b004

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

examples/blobhttp.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ function init() {
5757

5858
// Create HTTP server and listen on port 'httpPort'
5959
http
60-
.createServer(function(request, response) {
61-
handleRequest(request, response);
62-
})
63-
.listen(httpPort);
60+
.createServer(function(request, response) {
61+
handleRequest(request, response);
62+
})
63+
.listen(httpPort);
6464

6565
console.log("Server running. Try requesting: http://localhost:" + httpPort + "/getimage");
6666
});
@@ -140,13 +140,13 @@ function handleRequest(request, response) {
140140
}
141141

142142
process
143-
.on('SIGTERM', function() {
144-
console.log("\nTerminating");
145-
process.exit(0);
146-
})
147-
.on('SIGINT', function() {
148-
console.log("\nTerminating");
149-
process.exit(0);
150-
});
143+
.on('SIGTERM', function() {
144+
console.log("\nTerminating");
145+
process.exit(0);
146+
})
147+
.on('SIGINT', function() {
148+
console.log("\nTerminating");
149+
process.exit(0);
150+
});
151151

152152
init();

examples/select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ var doquery_object = function (conn, cb) {
8686
conn.execute(
8787
"SELECT location_id, city FROM locations WHERE city LIKE 'S%' ORDER BY city",
8888
{}, // A bind variable parameter is needed to disambiguate the following options parameter
89-
// otherwise you will get Error: ORA-01036: illegal variable name/number
89+
// otherwise you will get Error: ORA-01036: illegal variable name/number
9090
{ outFormat: oracledb.OBJECT }, // outFormat can be OBJECT or ARRAY. The default is ARRAY
9191
function(err, result)
9292
{

examples/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@ oracledb.getConnection(
6767
update = Math.floor (serverVer / 10000) % 100 ;
6868
port = Math.floor (serverVer / 100) % 100 ;
6969
portUpdate = serverVer % 100 ;
70-
// console.log("Oracle Database version: " + serverVer);
70+
// console.log("Oracle Database version: " + serverVer);
7171
console.log("Oracle Database text format: " + major + "." + minor + "." + update + "." + port + "." + portUpdate);
7272
});

0 commit comments

Comments
 (0)