MCPcopy Create free account
hub / github.com/Snapchat/Valdi / withReplacements

Method withReplacements

npm_modules/cli/src/utils/fileUtils.ts:44–46  ·  view source on GitHub ↗
(replacements: Replacements)

Source from the content-addressed store, hash-verified

42 }
43
44 withReplacements(replacements: Replacements): TemplateFile {
45 return new TemplateFile(this.templatePath, this.outputPath, replacements);
46 }
47
48 withOutputPath(outputPath: string): TemplateFile {
49 const newOutputPath = isDirectory(outputPath) ? path.join(outputPath, this.baseName) : outputPath;

Callers 1

initializeConfigFilesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected