mirror of
https://github.com/actions/labeler.git
synced 2025-12-12 12:37:48 +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;
|
let configurationContent;
|
||||||
try {
|
try {
|
||||||
if (!fs_1.default.existsSync(configurationPath)) {
|
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);
|
configurationContent = yield fetchContent(client, configurationPath);
|
||||||
}
|
}
|
||||||
else {
|
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, {
|
configurationContent = fs_1.default.readFileSync(configurationPath, {
|
||||||
encoding: 'utf8'
|
encoding: 'utf8'
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -169,12 +169,12 @@ async function getLabelGlobs(
|
|||||||
try {
|
try {
|
||||||
if (!fs.existsSync(configurationPath)) {
|
if (!fs.existsSync(configurationPath)) {
|
||||||
core.info(
|
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);
|
configurationContent = await fetchContent(client, configurationPath);
|
||||||
} else {
|
} else {
|
||||||
core.info(
|
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, {
|
configurationContent = fs.readFileSync(configurationPath, {
|
||||||
encoding: 'utf8'
|
encoding: 'utf8'
|
||||||
|
|||||||
Reference in New Issue
Block a user