From 3f7d20bf87c52de112e5d4363ac94b76e8799abe 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() }