fs.realpath.native() impl

This commit is contained in:
sebastien 2025-11-07 14:20:53 +01:00
parent 87b6fbad67
commit 3b0abf4d68

View File

@ -8,7 +8,6 @@
import path from 'path';
import fs from 'fs-extra';
import os from 'os';
import {realpath} from 'node:fs/promises';
import _ from 'lodash';
import execa from 'execa';
import PQueue from 'p-queue';
@ -291,5 +290,5 @@ The command returned exit code ${logger.code(result.exitCode)}: ${logger.subdue(
);
}
return realpath(result.stdout.trim());
return fs.realpath.native(result.stdout.trim());
}