Skip to content

Commit f15f846

Browse files
committed
Removed the use of deprecated sys package from webapp example
Signed-off-by: Richard Natal <[email protected]>
1 parent 627516d commit f15f846

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/webapp.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
*
3232
*****************************************************************************/
3333

34-
var sys = require('sys');
3534
var http = require('http');
3635
var url = require('url');
3736
var oracledb = require('oracledb');
@@ -139,7 +138,7 @@ oracledb.createPool (
139138

140139
hs.listen(portid, "localhost");
141140

142-
sys.puts("Server running at http://localhost:" + portid);
141+
console.log("Server running at http://localhost:" + portid);
143142
});
144143

145144
// To prepare HTML header

0 commit comments

Comments
 (0)