aboutsummaryrefslogtreecommitdiffhomepage
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/actions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/actions.js b/cli/actions.js
index 8a8624e..6f8faea 100644
--- a/cli/actions.js
+++ b/cli/actions.js
@@ -153,9 +153,9 @@ function get(filePath) {
153 if (!files || files.entries.length === 0) { 153 if (!files || files.entries.length === 0) {
154 console.log('No files on the server. Use %s to upload some.', 'surfer put <file>'.yellow); 154 console.log('No files on the server. Use %s to upload some.', 'surfer put <file>'.yellow);
155 } else { 155 } else {
156 console.log('Files:'); 156 console.log('Entries:');
157 files.entries.forEach(function (entry) { 157 files.entries.forEach(function (entry) {
158 console.log('\t %s', entry); 158 console.log('\t %s', entry.isDirectory ? entry.filePath + '/' : entry.filePath);
159 }); 159 });
160 } 160 }
161 } else { 161 } else {