Skip to content

Commit

Permalink
Merge pull request #296 from bugct/master
Browse files Browse the repository at this point in the history
fix on android
  • Loading branch information
mrmlnc committed Dec 11, 2020
2 parents 512d570 + 8e945a0 commit 800aea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/settings.ts
Expand Up @@ -3,7 +3,7 @@ import * as os from 'os';

import { FileSystemAdapter, Pattern } from './types';

const CPU_COUNT = os.cpus().length;
const CPU_COUNT = Math.max(os.cpus().length, 1);

export const DEFAULT_FILE_SYSTEM_ADAPTER: FileSystemAdapter = {
lstat: fs.lstat,
Expand Down

0 comments on commit 800aea6

Please sign in to comment.