Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed May 8, 2024
1 parent 2b97963 commit e0b58d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/doc.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('test/doc.test.js', () => {

const mainNodejsVersion = parseInt(process.versions.node.split('.')[0]);

if (process.platform !== 'win32' && mainNodejsVersion >= 18) {
if (process.platform === 'linux' && mainNodejsVersion >= 18) {
const cwd = path.dirname(__dirname);
const dumi = path.join(cwd, 'node_modules', '.bin', 'dumi');
await runscript(`cross-env NODE_OPTIONS=--openssl-legacy-provider APP_ROOT=./site ${dumi} build`,
Expand Down

0 comments on commit e0b58d7

Please sign in to comment.