From c72272bdb55e49bd585477e178ced63b8bb5c20a Mon Sep 17 00:00:00 2001 From: laggingreflex Date: Sat, 26 Nov 2016 15:57:25 +0530 Subject: [PATCH] fix: feat: use comment to target files (fixes #5) --- src/utilities/createIndexCode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utilities/createIndexCode.js b/src/utilities/createIndexCode.js index 2333230..2a4b9e8 100644 --- a/src/utilities/createIndexCode.js +++ b/src/utilities/createIndexCode.js @@ -25,7 +25,7 @@ const buildExportBlock = (files) => { export default (filePaths) => { let code; - code = '\'create index\';\n\n'; + code = '// @create-index\n\n'; if (filePaths.length) { const sortedFilePaths = filePaths.sort();