refactor: change message type from warning to info

This commit is contained in:
peaceiris 2020-07-24 00:49:02 +09:00
parent 8546b0c56b
commit 3667febec5
No known key found for this signature in database
GPG Key ID: 5868468A8EBA64EC

View File

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