Fail

constructor(rejectCreatingNewLock: Boolean = false)(source)

Parameters

rejectCreatingNewLock

If set to true, this means reject not only yarn.lock being changed, but for yarn.lock being created in the first place. Usually this level of strictness isn't required, but project authors can include it if they want to verify that new users are getting a yarn.lock file that they already committed into source control.