Skip to content

Commit

Permalink
PR comment fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cs-raj committed Mar 21, 2024
1 parent e454d12 commit 47212a7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class MigrationCommand extends Command {
await this.execSingleFile(filePath, mapInstance);
}
const errLogPath = `${process.cwd()}/migration-logs`;
if (fs.existsSync(errLogPath) && !isEmpty(`${errLogPath}/error.logs`)) {
if (fs.existsSync(errLogPath)) {
this.log(`The log has been stored at: `, errLogPath);
}
}
Expand Down
19 changes: 0 additions & 19 deletions packages/contentstack-migration/src/utils/error-handler.js

This file was deleted.

1 change: 0 additions & 1 deletion packages/contentstack-migration/src/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ module.exports = {
safePromise: require('./safe-promise'),
getConfig: require('./get-config'),
successHandler: require('./success-handler'),
errorHandler: require('./error-handler'),
getCallsite: require('./callsite'),
errorHelper: require('./error-helper'),
groupBy: require('./group-by'),
Expand Down

0 comments on commit 47212a7

Please sign in to comment.