Skip to content

Commit b24e399

Browse files
fix lint
1 parent 972b331 commit b24e399

File tree

1 file changed

+2
-2
lines changed
  • packages/devextreme-schematics/src/add-layout

1 file changed

+2
-2
lines changed

packages/devextreme-schematics/src/add-layout/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ function modifyFileRule(path: string, callback: (source: SourceFile) => Change[]
222222
};
223223
}
224224

225-
function updateAppComponent(host: Tree, sourcePath: string, templateOptions: any = {}) {
225+
function updateAppComponent(sourcePath: string, templateOptions: any = {}) {
226226
const appMComponentPath = sourcePath + templateOptions.name + '.ts';
227227

228228
const importSetter = (importName: string, path: string, alias: string) => {
@@ -424,7 +424,7 @@ export default function(options: any): Rule {
424424
const rules = [
425425
modifyContentByTemplate(sourcePath, projectFilesSource, null, templateOptions, modifyContent),
426426
updateDevextremeConfig(sourcePath),
427-
updateAppComponent(host, appPath, templateOptions),
427+
updateAppComponent(appPath, templateOptions),
428428
addBuildThemeScript(),
429429
() => addCustomThemeStyles(host, options, sourcePath) as any,
430430
addViewportToBody(sourcePath),

0 commit comments

Comments
 (0)