Enable alwaysStrict for build scripts (#152778)

Turns on `alwaysStrict` and removes `'use strict';` from our `.ts` files
This commit is contained in:
Matt Bierner
2022-06-21 12:00:43 -07:00
committed by GitHub
parent 4473810360
commit 2a84b0fb6d
65 changed files with 37 additions and 105 deletions

View File

@@ -1,11 +1,11 @@
"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Can be removed once https://github.com/electron/electron-rebuild/pull/703 is available.
'use strict';
Object.defineProperty(exports, "__esModule", { value: true });
exports.downloadLibcxxObjects = exports.downloadLibcxxHeaders = void 0;
// Can be removed once https://github.com/electron/electron-rebuild/pull/703 is available.
const debug = require("debug");
const extract = require("extract-zip");
const fs = require("fs-extra");