From 524a922880d72d2913ebb60b888b7d4b2dc6a7c6 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sat, 8 Aug 2015 05:04:06 -0700 Subject: [PATCH] fix default blessed-telnet test. --- example/blessed-telnet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/blessed-telnet.js b/example/blessed-telnet.js index 31c1f409..b711306c 100755 --- a/example/blessed-telnet.js +++ b/example/blessed-telnet.js @@ -116,7 +116,7 @@ function simpleTest(screen) { screen.render(); } -var test = process.argv[2] || '../test/widget-shadow.js'; +var test = process.argv[2] || path.resolve(__dirname, '../test/widget-shadow.js'); if (~test.indexOf('widget-png.js')) process.argv.length = 2; test = path.resolve(process.cwd(), test);