mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
spec: Disable old APIs in tests
This commit is contained in:
@@ -16,6 +16,9 @@ PRODUCT_NAME = atom_gyp()['product_name%']
|
||||
def main():
|
||||
os.chdir(SOURCE_ROOT)
|
||||
|
||||
# Disable old APIs
|
||||
os.environ['ELECTRON_HIDE_INTERNAL_MODULES'] = 'true'
|
||||
|
||||
config = 'D'
|
||||
if len(sys.argv) == 2 and sys.argv[1] == '-R':
|
||||
config = 'R'
|
||||
|
||||
Reference in New Issue
Block a user