File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/lib/schematics/update Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ import {
44 RunSchematicTask ,
55 TslintFixTask
66} from '@angular-devkit/schematics/tasks' ;
7+ import { existsSync , mkdtempSync } from 'fs' ;
78import * as path from 'path' ;
8- import { existsSync , readFileSync } from 'fs' ;
9- import { getProjectFromWorkspace , getWorkspace } from '../utils/devkit-utils/config' ;
9+ import { getWorkspace } from '../utils/devkit-utils/config' ;
1010
1111const schematicsSrcPath = 'node_modules/@angular/material/schematics' ;
12- const schematicsTmpPath = 'node_modules/_tmp_angular_material_schematics' ;
12+ const schematicsTmpPath = mkdtempSync ( 'angular_material_schematics-' ) ;
1313
1414/** Entry point for `ng update` from Angular CLI. */
1515export default function ( ) : Rule {
You can’t perform that action at this time.
0 commit comments