Skip to content

Commit 648696c

Browse files
committed
Fix linter errors
1 parent 952c6d6 commit 648696c

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

packages/php-wasm/node/src/lib/node-fs-mount.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
import {
2-
FSHelpers,
3-
type ErrnoError,
4-
type MountHandler,
5-
} from '@php-wasm/universal';
1+
import { FSHelpers, type MountHandler } from '@php-wasm/universal';
62
import { statSync } from 'fs';
73
import { basename } from 'path';
84

@@ -21,7 +17,7 @@ export function createNodeFsMountHandler(localPath: string): MountHandler {
2117
* To work around this, the PHP-wasm compile removes the directory check.
2218
* PHP-WASM source: https://github.com/WordPress/wordpress-playground/blob/5821cee231f452d050fd337b99ad0b26ebda487e/packages/php-wasm/compile/php/Dockerfile#L2148
2319
*/
24-
let removeVfsNode: boolean = false;
20+
let removeVfsNode = false;
2521
if (!FSHelpers.fileExists(FS, vfsMountPoint)) {
2622
if (statSync(localPath).isSymbolicLink()) {
2723
(FS as any).createNode(

0 commit comments

Comments
 (0)