cloving 0.1.17 → 0.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -232,8 +232,8 @@ const code = async (options) => {
232
232
  const allSrcFiles = await (0, config_utils_1.getAllFiles)(options, false);
233
233
  let contextFiles = {};
234
234
  try {
235
- if (files) {
236
- for (const file of files) {
235
+ if (allSrcFiles) {
236
+ for (const file of allSrcFiles) {
237
237
  const filePath = path_1.default.resolve(file);
238
238
  if (await fs_1.default.promises.stat(filePath).then(stat => stat.isFile()).catch(() => false)) {
239
239
  const content = await fs_1.default.promises.readFile(filePath, 'utf-8');
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloving",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "packageManager": "yarn@1.22.22",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloving",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "packageManager": "yarn@1.22.22",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",