Merge pull request #72 from Uzlopak/strict

use strict
This commit is contained in:
Frank Jogeleit 2022-11-04 10:35:28 +01:00 committed by GitHub
commit c4ec44ca3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 3 deletions

13
dist/index.js vendored
View file

@ -4967,6 +4967,9 @@ exports["default"] = _default;
/***/ 8169:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const core = __nccwpck_require__(2186);
class GithubActions {
@ -5013,6 +5016,9 @@ module.exports = { GithubActions, LogActions }
/***/ 9082:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
"use strict";
const axios = __nccwpck_require__(8757);
const FormData = __nccwpck_require__(4334)
const fs = __nccwpck_require__(7147)
@ -5137,7 +5143,7 @@ const convertToJSON = (value) => {
* @returns {FormData}
*/
const convertToFormData = (data, files) => {
formData = new FormData()
const formData = new FormData()
for (const [key, value] of Object.entries(data)) {
formData.append(key, value)
@ -9166,8 +9172,11 @@ module.exports = JSON.parse('{"application/1d-interleaved-parityfec":{"source":"
/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
// This entry need to be wrapped in an IIFE because it need to be in strict mode.
(() => {
"use strict";
const core = __nccwpck_require__(2186);
const axios = __nccwpck_require__(8757);
const https = __nccwpck_require__(5687);

View file

@ -1,3 +1,5 @@
'use strict'
const core = require("@actions/core");
class GithubActions {

View file

@ -1,3 +1,5 @@
'use strict'
const axios = require('axios');
const FormData = require('form-data')
const fs = require('fs')
@ -122,7 +124,7 @@ const convertToJSON = (value) => {
* @returns {FormData}
*/
const convertToFormData = (data, files) => {
formData = new FormData()
const formData = new FormData()
for (const [key, value] of Object.entries(data)) {
formData.append(key, value)

View file

@ -1,3 +1,5 @@
'use strict'
const core = require('@actions/core');
const axios = require('axios');
const https = require('https');