mirror of
https://github.com/status-im/actions-gh-pages.git
synced 2025-01-13 23:04:20 +00:00
refactor: change message type from warning to info
This commit is contained in:
parent
8546b0c56b
commit
3667febec5
@ -53,7 +53,7 @@ export async function addCNAME(workDir: string, content: string): Promise<void>
|
|||||||
}
|
}
|
||||||
const filepath = path.join(workDir, 'CNAME');
|
const filepath = path.join(workDir, 'CNAME');
|
||||||
if (fs.existsSync(filepath)) {
|
if (fs.existsSync(filepath)) {
|
||||||
core.warning(`CNAME already exists, skip adding CNAME`);
|
core.info(`CNAME already exists, skip adding CNAME`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
fs.writeFileSync(filepath, content + '\n');
|
fs.writeFileSync(filepath, content + '\n');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user