Update lerna dependency. (#1149)

* fix audit

* update linter
This commit is contained in:
Thomas Boop authored and GitHub committed 2022-08-08 14:39:23 -04:00
1 parent 36ef95e076
commit 180be16292
2 files changed
+17 -9

No files matched your search

+9 -5
View File
@@ -132,10 +132,12 @@ describe('@actions/core', () => {
it('exportVariable does not allow delimiter as value', () => {
const command = 'ENV'
createFileCommandFile(command)
expect(() => {
core.exportVariable('my var', `good stuff ${DELIMITER} bad stuff`)
}).toThrow(`Unexpected input: value should not contain the delimiter "${DELIMITER}"`)
}).toThrow(
`Unexpected input: value should not contain the delimiter "${DELIMITER}"`
)
const filePath = path.join(__dirname, `test/${command}`)
fs.unlinkSync(filePath)
@@ -144,11 +146,13 @@ describe('@actions/core', () => {
it('exportVariable does not allow delimiter as name', () => {
const command = 'ENV'
createFileCommandFile(command)
expect(() => {
core.exportVariable(`good stuff ${DELIMITER} bad stuff`, 'test')
}).toThrow(`Unexpected input: name should not contain the delimiter "${DELIMITER}"`)
}).toThrow(
`Unexpected input: name should not contain the delimiter "${DELIMITER}"`
)
const filePath = path.join(__dirname, `test/${command}`)
fs.unlinkSync(filePath)
})