Skip to content

Commit

Permalink
fix(cli): set processDestinationPath option for backward-compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondfeng committed Jun 26, 2020
1 parent b1e49df commit b1de0d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/cli/lib/base-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,9 @@ module.exports = class BaseGenerator extends Generator {
context,
templateOptions = {},
copyOptions = {
// See https://github.com/SBoudrias/mem-fs-editor/pull/147
// Don't remove .ejs from the file name to keep backward-compatibility
processDestinationPath: destPath => destPath,
// See https://github.com/mrmlnc/fast-glob#options-1
globOptions: {
// Allow patterns to match filenames starting with a period (files &
Expand Down

0 comments on commit b1de0d5

Please sign in to comment.