Skip to content

Commit 21fd7ec

Browse files
committed
gn_check always returns true for 1.11.x and 1.12.x
1 parent a61dda0 commit 21fd7ec

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/gnCheck.js

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ const config = require('../lib/config')
22
const util = require('../lib/util')
33

44
const gnCheck = (buildConfig = config.defaultBuildConfig, options) => {
5+
// Return true for gn_check for version 1.11.x and 1.12.x
6+
if (config.braveVersion.startsWith('1.11') || config.braveVersion.startsWith('1.12')) {
7+
return;
8+
}
59
config.buildConfig = buildConfig
610
config.update(options)
711
util.run('gn', ['check', config.outputDir, '//brave/*'], config.defaultOptions)

0 commit comments

Comments
 (0)