Skip to content

Commit

Permalink
logMessage sipOverwrite function
Browse files Browse the repository at this point in the history
  • Loading branch information
Light13008 committed Dec 19, 2024
1 parent 9162ffd commit 2f9eaf5
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 25 deletions.
4 changes: 2 additions & 2 deletions apps/generator/lib/logMessages.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function relativeSourceFileNotGenerated(relativeSourceFile , subject) {
return `${relativeSourceFile} was not generated because ${subject} specified in template configuration in conditionalFiles was not found in provided AsyncAPI specification file.`;
}

function write(testFilePath) {
function skipOverwrite(testFilePath) {
return `Skipping overwrite for: ${testFilePath}`;
}

Expand All @@ -64,5 +64,5 @@ module.exports = {
relativeSourceFileNotGenerated,
conditionalFilesMatched,
compileEnabled,
write
skipOverwrite
};
63 changes: 40 additions & 23 deletions apps/generator/test/test-templates/react-template/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2f9eaf5

Please sign in to comment.