From 405eb4b537cc2f1e00cbb6d5d7070b85c66f5457 Mon Sep 17 00:00:00 2001 From: Anthony Tseng Date: Wed, 27 Mar 2019 16:46:25 -0700 Subject: [PATCH] Move apply_patches from hooks to sync.js --- scripts/sync.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/sync.js b/scripts/sync.js index 32ec533bbc1d..a2ce5767e436 100644 --- a/scripts/sync.js +++ b/scripts/sync.js @@ -50,5 +50,7 @@ if (updatedVersion || program.init || program.run_sync) { } if (updatedVersion || program.init || program.run_hooks) { + const core_dir = config.projects['brave-core'].dir + util.run('python', [path.join(core_dir, 'script', 'apply-patches.py')]) util.gclientRunhooks() }