Skip to content
This repository was archived by the owner on Aug 14, 2020. It is now read-only.

Commit 78d35a3

Browse files
add log
1 parent 13c14c3 commit 78d35a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ async function run() {
4747

4848
const isYarn = isYarnRepo()
4949

50+
console.log(`Project is using ${isYarn ? 'yarn' : 'npm'}`)
51+
5052
await exec.exec(isYarn ? YARN_INSTALL_COMMAND : NPM_INSTALL_COMMAND, null, {
5153
ignoreReturnCode: true,
5254
})

0 commit comments

Comments
 (0)