Quantcast
Channel: User user2297996 - Stack Overflow
Viewing all articles
Browse latest Browse all 37

Answer by user2297996 for How to delete / skip directory using Angular schematics?

$
0
0

Figured it out:

There is no such option, but you don't need it. If you don't want a directory to be created, remove its contents from the tree using tree.delete(). Schematics won't create empty directories, so the dir will be skipped.


Viewing all articles
Browse latest Browse all 37

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>