refactor(githook.ts): replace comments with line breaks for switch cases in platform switch statement

This commit is contained in:
di-sukharev
2023-03-30 19:53:14 +08:00
parent eacc750952
commit e2f68b7256
+6 -3
View File
@@ -11,13 +11,16 @@ const platform = process.platform;
let separator = '';
switch (platform) {
case 'win32': // Windows
// Windows
case 'win32':
separator = path.sep;
break;
case 'darwin': // macOS
// macOS
case 'darwin':
separator = '';
break;
case 'linux': // Linux
// Linux
case 'linux':
separator = '';
break;
default: