From: Matthias Schmidt Date: Mon, 31 Jul 2017 15:25:19 +0000 (+0200) Subject: Ignore `require.build.js` when syncing project files X-Git-Tag: 3.1.0_Alpha_1~135 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bc3ccfe3fc94a7fd1199c4b502bd5a967428876c;p=GitHub%2FWoltLab%2FWCF.git Ignore `require.build.js` when syncing project files --- 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; });