Fix typo in EEXIST error predicate

Change-type: patch
Signed-off-by: Cameron Diver <cameron@resin.io>
This commit is contained in:
Cameron Diver 2018-06-11 13:47:24 +01:00
parent dab233f04b
commit 0eb8b25b64
No known key found for this signature in database
GPG Key ID: 69264F9C923F55C1

View File

@ -10,8 +10,8 @@ export function ENOENT(err: { code: string, [key: string]: any }): boolean {
return err.code === 'ENOENT';
}
export function EEXISTS(err: { code: string, [key: string]: any }): boolean {
return err.code === 'EEXISTS';
export function EEXIST(err: { code: string, [key: string]: any }): boolean {
return err.code === 'EEXIST';
}
export function UnitNotLoadedError(err: string[]): boolean {