Skip to content

Commit 53d7a6c

Browse files
committed
Accept Windows find discovery diagnostic
1 parent ecb2c91 commit 53d7a6c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/cli.test.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ try {
357357
pricingCacheFile,
358358
]);
359359
assert.equal(missingFindForced.code, 1);
360-
assert.match(missingFindForced.stderr, /find discovery is unavailable: spawn find ENOENT/);
360+
assert.match(missingFindForced.stderr, /find discovery is unavailable: (spawn find ENOENT|unsupported platform win32)/);
361361
assert.doesNotMatch(missingFindForced.stderr, /node:internal|ErrorCaptureStackTrace/);
362362
} finally {
363363
if (previousPath == null) {

0 commit comments

Comments
 (0)