Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit dd1e58a

Browse files
author
Simon Hofmann
committed
Updated method name to changed autobuild behaviour
1 parent 99880e7 commit dd1e58a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/includes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const opencvBuild = require('opencv-build');
22
const { resolvePath, defaultDir } = require('./commons');
33

4-
if (opencvBuild.isAutoBuildDisabled()) {
4+
if (!opencvBuild.isAutoBuildEnabled()) {
55
console.log(resolvePath(process.env.OPENCV_INCLUDE_DIR) || `${defaultDir}/include`);
66
return;
77
}

0 commit comments

Comments
 (0)