Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/node-core-library > LockFile > release

LockFile.release() method

Unlocks a file and optionally removes it from disk. This can only be called once.

Signature:

release(deleteFile?: boolean): void;

Parameters

ParameterTypeDescription
deleteFileboolean(Optional) Whether to delete the lockfile from disk. Defaults to true.

Returns:

void