Skip to content

Commit

Permalink
fix default blessed-telnet test.
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed Aug 8, 2015
1 parent 802e4dd commit 524a922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/blessed-telnet.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 524a922

Please sign in to comment.