From 42f870a31d902f37ccdad7915df8e7806cd3ce29 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Sat, 15 Feb 2020 22:15:33 +1300 Subject: [PATCH] fix: remove space from error message --- src/volume.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/volume.ts b/src/volume.ts index c5dd892a..df9a50b3 100644 --- a/src/volume.ts +++ b/src/volume.ts @@ -143,7 +143,7 @@ function formatError(errorCode: string, func = '', path = '', path2 = '') { case ENOSYS: return `ENOSYS: function not implemented, ${func}${pathFormatted}`; default: - return `${errorCode} : error occurred, ${func}${pathFormatted}`; + return `${errorCode}: error occurred, ${func}${pathFormatted}`; } }