From 5580907c58554c94224cb63d280c4776a98c79a6 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sat, 8 Jan 2011 18:20:30 -0800 Subject: [PATCH] debugger: fix 'scripts' command path.split() no longer available --- lib/_debugger.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/_debugger.js b/lib/_debugger.js index e0c8f226b3..83a119d994 100644 --- a/lib/_debugger.js +++ b/lib/_debugger.js @@ -740,8 +740,7 @@ Interface.prototype.printScripts = function(displayNatives) { script.name == client.currentScript || !script.isNative) { text += script.name == client.currentScript ? '* ' : ' '; - var n = require('path').split(script.name); - text += n[n.length - 1] + '\n'; + text += script.name + '\n'; } } }