add unit test and cleanup (#28)
* remove unnessary import * use mock for child_process.spawnSync() * document useful resources * use v1.1.0 for daily scan
This commit is contained in:
@@ -3,7 +3,7 @@ import stripAnsi from 'strip-ansi'
|
||||
|
||||
export class Audit {
|
||||
stdout: string = ''
|
||||
status: number | null = null
|
||||
private status: number | null = null
|
||||
|
||||
public async run(): Promise<void> {
|
||||
const result: SpawnSyncReturns<string> = spawnSync('npm', ['audit'], {
|
||||
|
||||
Reference in New Issue
Block a user