🩹 Use correct core warning method

This commit is contained in:
BetaHuhn 2021-04-30 10:52:48 +02:00
parent ab2f74f5e7
commit 74575ddfe0
2 changed files with 4 additions and 4 deletions

4
dist/index.js vendored
View File

@ -32937,7 +32937,7 @@ const parseFiles = (files) => {
}
}
core.warn('Warn: No source files specified')
core.warning('Warn: No source files specified')
})
}
@ -32993,7 +32993,7 @@ const parseConfig = async () => {
while (fs.existsSync(context.TMP_DIR)) {
context.TMP_DIR = `tmp-${ Date.now().toString() }`
core.warn(`TEMP_DIR already exists. Using "${ context.TMP_DIR }" now.`)
core.warning(`TEMP_DIR already exists. Using "${ context.TMP_DIR }" now.`)
}
module.exports = {

View File

@ -159,7 +159,7 @@ const parseFiles = (files) => {
}
}
core.warn('Warn: No source files specified')
core.warning('Warn: No source files specified')
})
}
@ -215,7 +215,7 @@ const parseConfig = async () => {
while (fs.existsSync(context.TMP_DIR)) {
context.TMP_DIR = `tmp-${ Date.now().toString() }`
core.warn(`TEMP_DIR already exists. Using "${ context.TMP_DIR }" now.`)
core.warning(`TEMP_DIR already exists. Using "${ context.TMP_DIR }" now.`)
}
module.exports = {