Skip to content

Commit 46a4c42

Browse files
committed
add log message about unsupported platform
1 parent 0988c42 commit 46a4c42

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

dist/main.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lcov/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ export function installLcovIfNeeded() {
8686
execSync('sudo apt-get install --assume-yes lcov');
8787
} else if (platform === 'macOS') {
8888
execSync('brew install lcov');
89+
} else {
90+
console.log('Unsupported platform. Lcov not installed.');
8991
}
9092
} catch (error) {
9193
throw new Error(`${config.action_msg_prefix} ${error.message}`);

0 commit comments

Comments
 (0)