Fix double negation message typo (#629)

* Fix double negation typo

* Rebuild index.js
This commit is contained in:
TrianguloY
2023-07-31 14:42:10 +02:00
committed by GitHub
parent c3a5749d46
commit 5bb656d641
2 changed files with 1301 additions and 1301 deletions

4
dist/index.js vendored
View File

@@ -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'
});

View File

@@ -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'