From bc3ccfe3fc94a7fd1199c4b502bd5a967428876c Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 31 Jul 2017 17:25:19 +0200 Subject: [PATCH] Ignore `require.build.js` when syncing project files --- .../files/lib/system/devtools/pip/DevtoolsPip.class.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wcfsetup/install/files/lib/system/devtools/pip/DevtoolsPip.class.php b/wcfsetup/install/files/lib/system/devtools/pip/DevtoolsPip.class.php index 9722880a6d..a3108ae80d 100644 --- a/wcfsetup/install/files/lib/system/devtools/pip/DevtoolsPip.class.php +++ b/wcfsetup/install/files/lib/system/devtools/pip/DevtoolsPip.class.php @@ -219,6 +219,10 @@ class DevtoolsPip extends DatabaseObjectDecorator { // and cannot be restored by WSC itself return false; } + else if ($filename === 'require.build.js') { + // ignore require build configuration file + return false; + } else if ($filename === 'templates') { // ignores both `templates` and `acp/templates` return false; @@ -288,6 +292,10 @@ class DevtoolsPip extends DatabaseObjectDecorator { // ignore dot files and files/directories starting with a dot return false; } + else if ($filename === 'require.build.js') { + // ignore require build configuration file + return false; + } return true; }); -- 2.20.1