소스 검색

forgot to remove the wc command from search

tarfeef101 4 년 전
부모
커밋
c4d4086338
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/viki.js

+ 1 - 1
src/viki.js

@@ -274,7 +274,7 @@ client.on('message', async msg =>
       args.splice(0, 1);
       var query = args.join(' '); // creates a single string of all args (the query)
       var path; // this will hold the filepaths from our query
-      exec(`beet ls ${type}:${query} | wc -l`, function (error, stdout, stderr)
+      exec(`beet ls ${type}:${query}`, function (error, stdout, stderr)
       {
         if (error)
         {