Skip to content

pdpdevtool 6104 update thirdparty libraries #915

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

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

carolnavarropereira
Copy link
Member

No description provided.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 19, 2025
const { COLORS, BOLD } = await import('./LoggerFontConstants.mjs');
return { COLORS, BOLD };
};
const LoggerConstants = loadLoggerConstants();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To make the code a tiny bit more readable, I suggest to
rename LoggerConstants to something like LoggerConstantsPromise or LoggerFormatterPromise...

Comment on lines +30 to +77
// const mainAnswers = await prompt([
// {
// type: 'list',
// name: 'type',
// message: 'What object type would you like to create?',
// choices: OBJECT_TYPES,
// },
// {
// type: 'input',
// name: 'objectfilename',
// message: (answers_1) => `Please specify the filename for the ${chalk.green.bold(answers_1.type.name)} object`,
// transformer: (input_1, answers_2, flags) => `${answers_2.type.prefix}${input_1}.xml`,
// },
// {
// type: 'list',
// name: 'folder',
// message: (answers_4) =>
// `Where would you like to store the ${chalk.green.bold(answers_4.type.prefix + answers_4.objectfilename + '.xml')} file?`,
// choices: objectDirectoryChoices,
// },
// {
// type: 'confirm',
// name: 'createrelatedfiles',
// message: 'Would you like to also create associated files with this object?',
// when: (answers_6) => answers_6.type.hasRelatedFiles,
// },
// ]);
// if (mainAnswers.createrelatedfiles) {
// const fileCabinetDirectoryChoices = this._fileSystemService
// .getFoldersFromDirectory(join(this._projectFolder, FOLDERS.FILE_CABINET))
// .map(transformFoldersToChoicesFunc);
// const answers_10 = await prompt([
// {
// type: 'input',
// name: 'relatedfilename',
// message: 'Please specify the script filename',
// transformer: (input_3, answers_7, flags) => `${input_3}.js`,
// },
// {
// type: 'list',
// name: 'relatedfiledestinationfolder',
// message: (answers_9) => `Where would you like to store the ${chalk.green.bold(answers_9.relatedfilename)}.js file?`,
// choices: fileCabinetDirectoryChoices,
// },
// ]);
// return { ...answers_10, ...mainAnswers };
// }
// return mainAnswers;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't look right to me.
Is this purposeful?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants