mirror of
https://github.com/actions/labeler.git
synced 2025-12-11 12:07:32 +00:00
Fix double negation message typo (#629)
* Fix double negation typo * Rebuild index.js
This commit is contained in:
4
dist/index.js
vendored
4
dist/index.js
vendored
@@ -174,11 +174,11 @@ function getLabelGlobs(client, configurationPath) {
|
||||
let configurationContent;
|
||||
try {
|
||||
if (!fs_1.default.existsSync(configurationPath)) {
|
||||
core.info(`The configuration file (path: ${configurationPath}) isn't not found locally, fetching via the api`);
|
||||
core.info(`The configuration file (path: ${configurationPath}) was not found locally, fetching via the api`);
|
||||
configurationContent = yield fetchContent(client, configurationPath);
|
||||
}
|
||||
else {
|
||||
core.info(`The configuration file (path: ${configurationPath}) is found locally, reading from the file`);
|
||||
core.info(`The configuration file (path: ${configurationPath}) was found locally, reading from the file`);
|
||||
configurationContent = fs_1.default.readFileSync(configurationPath, {
|
||||
encoding: 'utf8'
|
||||
});
|
||||
|
||||
@@ -169,12 +169,12 @@ async function getLabelGlobs(
|
||||
try {
|
||||
if (!fs.existsSync(configurationPath)) {
|
||||
core.info(
|
||||
`The configuration file (path: ${configurationPath}) isn't not found locally, fetching via the api`
|
||||
`The configuration file (path: ${configurationPath}) was not found locally, fetching via the api`
|
||||
);
|
||||
configurationContent = await fetchContent(client, configurationPath);
|
||||
} else {
|
||||
core.info(
|
||||
`The configuration file (path: ${configurationPath}) is found locally, reading from the file`
|
||||
`The configuration file (path: ${configurationPath}) was found locally, reading from the file`
|
||||
);
|
||||
configurationContent = fs.readFileSync(configurationPath, {
|
||||
encoding: 'utf8'
|
||||
|
||||
Reference in New Issue
Block a user