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 (
|
|
236
|
-
for (const file of
|
|
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