We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a288b59 commit ab68eb2Copy full SHA for ab68eb2
bin/buddy
@@ -42,11 +42,7 @@ if (fs.existsSync(rcPath) && fs.lstatSync(rcPath).isFile()) {
42
}
43
44
// Assume all unconsumed arguments are paths
45
-var suppliedPaths = program.args || [];
46
-if (!suppliedPaths.length) {
47
- console.log('Please provide a list of filenames or directories');
48
- process.exit(0);
49
-}
+var suppliedPaths = (program.args.length) ? program.args : ['.'];
50
51
// chalk doesn't support short flags by default
52
if (!program.color) {
0 commit comments