updating production flag to --omit=dev (#125)

* updating production flag to --omit=dev

* fixing readme comment
This commit is contained in:
William Barnes
2022-07-09 05:08:36 -04:00
committed by GitHub
parent 3e3735791c
commit 5b91df5581
4 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ export class Audit {
const cmd: string = isWindowsEnvironment ? 'npm.cmd' : 'npm'
if (productionFlag === 'true') {
auditOptions.push('--production')
auditOptions.push('--omit=dev')
}
if (jsonFlag === 'true') {