Skip to content

Commit

Permalink
Specifically check for win32 before using SymlinkManager
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroenpf committed Sep 19, 2024
1 parent 3e48eda commit 72c8c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/wp-now/src/wp-now.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 72c8c8e

Please sign in to comment.