File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
packages/php-wasm/node/src/lib Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 1
- import {
2
- FSHelpers ,
3
- type ErrnoError ,
4
- type MountHandler ,
5
- } from '@php-wasm/universal' ;
1
+ import { FSHelpers , type MountHandler } from '@php-wasm/universal' ;
6
2
import { statSync } from 'fs' ;
7
3
import { basename } from 'path' ;
8
4
@@ -21,7 +17,7 @@ export function createNodeFsMountHandler(localPath: string): MountHandler {
21
17
* To work around this, the PHP-wasm compile removes the directory check.
22
18
* PHP-WASM source: https://github.com/WordPress/wordpress-playground/blob/5821cee231f452d050fd337b99ad0b26ebda487e/packages/php-wasm/compile/php/Dockerfile#L2148
23
19
*/
24
- let removeVfsNode : boolean = false ;
20
+ let removeVfsNode = false ;
25
21
if ( ! FSHelpers . fileExists ( FS , vfsMountPoint ) ) {
26
22
if ( statSync ( localPath ) . isSymbolicLink ( ) ) {
27
23
( FS as any ) . createNode (
You can’t perform that action at this time.
0 commit comments