updating production flag to --omit=dev (#125)
* updating production flag to --omit=dev * fixing readme comment
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user