Reverted test change

This commit is contained in:
Jonas Bovin 2022-11-23 09:17:09 +01:00
parent 80e7869b2d
commit d226a0fe29
3 changed files with 10 additions and 8 deletions

View file

@ -19,12 +19,16 @@ The following arguments will be provided:
- `io` A reference to the [@actions/io](https://github.com/actions/toolkit/tree/main/packages/io) package - `io` A reference to the [@actions/io](https://github.com/actions/toolkit/tree/main/packages/io) package
- `exec` A reference to the [@actions/exec](https://github.com/actions/toolkit/tree/main/packages/exec) package - `exec` A reference to the [@actions/exec](https://github.com/actions/toolkit/tree/main/packages/exec) package
- `require` A proxy wrapper around the normal Node.js `require` to enable - `require` A proxy wrapper around the normal Node.js `require` to enable
- 'se' A library for resusbale functions - `se` A library for resusbale functions
requiring relative paths (relative to the current working directory) and - `createMetaJson` Create meta.json files for all deployable component
requiring npm packages installed in the current working directory. If for - `startCheck` Helper method to create a check without annotations
some reason you need the non-wrapped `require`, there is an escape hatch - `completeCheck` Helper method to finish a check without annotations
available: `__original_require__` is the original value of `require` without
our wrapping applied. requiring relative paths (relative to the current working directory) and
requiring npm packages installed in the current working directory. If for
some reason you need the non-wrapped `require`, there is an escape hatch
available: `__original_require__` is the original value of `require` without
our wrapping applied.
Since the `script` is just a function body, these values will already be Since the `script` is just a function body, these values will already be
defined, so you don't have to import them (see examples below). defined, so you don't have to import them (see examples below).

1
dist/index.js vendored
View file

@ -13614,7 +13614,6 @@ class se_Helper {
shell: '/bin/bash' shell: '/bin/bash'
}); });
console.log(xmllint.toString()); console.log(xmllint.toString());
const x = '22';
const command = `#!/bin/bash const command = `#!/bin/bash
cd ` + cd ` +
root + root +

View file

@ -22,7 +22,6 @@ export class Helper {
shell: '/bin/bash' shell: '/bin/bash'
}) })
console.log(xmllint.toString()) console.log(xmllint.toString())
const x = '22'
const command = const command =
`#!/bin/bash `#!/bin/bash
cd ` + cd ` +