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 {
4
4
RunSchematicTask ,
5
5
TslintFixTask
6
6
} from '@angular-devkit/schematics/tasks' ;
7
+ import { existsSync , mkdtempSync } from 'fs' ;
7
8
import * 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' ;
10
10
11
11
const schematicsSrcPath = 'node_modules/@angular/material/schematics' ;
12
- const schematicsTmpPath = 'node_modules/_tmp_angular_material_schematics' ;
12
+ const schematicsTmpPath = mkdtempSync ( 'angular_material_schematics-' ) ;
13
13
14
14
/** Entry point for `ng update` from Angular CLI. */
15
15
export default function ( ) : Rule {
You can’t perform that action at this time.
0 commit comments