1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-07-17 01:42:43 +02:00

Fix lint tests (#1773)

Co-authored-by: Kevin Hudemann <kevin.hudemann@sap.com>
This commit is contained in:
Daniel Kurzynski
2020-07-08 11:57:21 +02:00
committed by GitHub
parent 644f18b491
commit 15926684cb
2 changed files with 6 additions and 3 deletions

View File

@ -61,8 +61,8 @@ func (n *npmExecutorMock) RunScriptsInAllPackages(runScripts []string, runOption
}
}
if len(runOptions) != 0 {
return fmt.Errorf("RunScriptsInAllPackages was unexpectedly called with a list of runOptions")
if len(runOptions) != len(n.config.runOptions) {
return fmt.Errorf("RunScriptsInAllPackages was called with a different list of runOptions than config.runOptions")
}
if virtualFrameBuffer != n.config.virtualFrameBuffer {