mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
fix build by adding `'use strict'; to generated 'async.load.js'
This commit is contained in:
parent
d6abd689b6
commit
c8ebe25968
@ -263,7 +263,7 @@ describe('Variables', () => {
|
||||
const makeAsyncLoadJs = () => {
|
||||
const SUtils = new Utils();
|
||||
const tmpDirPath = testUtils.getTmpDirPath();
|
||||
const fileContent = `
|
||||
const fileContent = `'use strict';
|
||||
let i = 0
|
||||
const str = () => new Promise((resolve) => {
|
||||
setTimeout(() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user