Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MWPW-154071 Marketo mapping for Workfront #50

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion bulk-update/bulk-update.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,9 @@ export default async function main(config, migrate, reporter = null) {
console.error('Bulk Update Error:', e);
config.reporter.log('Bulk Update Error', 'error', e.message, e.stack);
}
const totals = await config.reporter.generateTotals();

return config.reporter.generateTotals();
return totals;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion bulk-update/reporter/excel-reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ExcelReporter extends BaseReporter {
* @param {boolean} [autoSave=true] - Excel file should be automatically saved when logging.
* Disable to improve performance. Don't forget to call `saveReport` when done.
*/
constructor(filepath, autoSave = true) {
constructor(filepath, autoSave = false) {
super();
this.filepath = filepath;
this.autoSave = autoSave;
Expand Down
2 changes: 1 addition & 1 deletion faas-to-marketo/url-report.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const dateString = ExcelReporter.getDateString();
const config = {
list: [],
siteUrl: 'https://main--bacom--adobecom.hlx.live',
reporter: new ExcelReporter(`${pathname}reports/url-report-${dateString}.xlsx`, true),
reporter: new ExcelReporter(`${pathname}reports/url-report-${dateString}.xlsx`, false),
outputDir: `${pathname}output`,
mdDir: `${pathname}md`,
mdCacheMs: 30 * 24 * 60 * 60 * 1000, // 30 days
Expand Down
Loading
Loading