From 72c8c8e768d2ff2876c74a4c82f06e742a5bb2fc Mon Sep 17 00:00:00 2001 From: Jeroen Pfeil Date: Thu, 19 Sep 2024 16:02:05 +0700 Subject: [PATCH] Specifically check for win32 before using SymlinkManager --- vendor/wp-now/src/wp-now.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/wp-now/src/wp-now.ts b/vendor/wp-now/src/wp-now.ts index dd8646fc..5fe31a19 100644 --- a/vendor/wp-now/src/wp-now.ts +++ b/vendor/wp-now/src/wp-now.ts @@ -181,7 +181,7 @@ async function prepareWordPress( php: PHP, options: WPNowOptions ) { // Symlink manager is not yet supported on windows // See: https://github.com/Automattic/studio/issues/548 - if ( !process.platform.startsWith('win') ) { + if ( process.platform !== 'win32' ) { await startSymlinkManager(php, options.projectPath); } }