We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdd2b87 commit e1681baCopy full SHA for e1681ba
lib/migrator.js
@@ -10,7 +10,6 @@ const {
10
} = require('./utils/templates');
11
const { moveFile, removeDirs } = require('./utils/file');
12
const { transform: dropLayoutBinding } = require('./utils/rewrite-imports');
13
-const { template } = require('jscodeshift');
14
15
/**
16
* @typedef {object} Options
@@ -137,7 +136,7 @@ module.exports = class Migrator {
137
136
138
If `filePathFromApp` matches the latter pattern, we remove the hyphen.
139
*/
140
- if (/\/\-[\w\-]+\.hbs/.test(filePathFromApp)) {
+ if (/\/-[\w-]+\.hbs/.test(filePathFromApp)) {
141
filePathFromApp = filePathFromApp.replace('/-', '/');
142
}
143
0 commit comments