Skip to content
This repository was archived by the owner on Mar 25, 2021. It is now read-only.

fix: added setting version on install #21

Merged
merged 1 commit into from
Dec 19, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ function hookSetup() {
systeminfo: utils.getSystemInfo()
}

utils.setVersion()

const insightsProcess = childProcess.spawnSync(`node`, [
`${__dirname}/insight.js`,
'-e',
Expand Down
1 change: 1 addition & 0 deletions lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ module.exports = {
writeToFile,
getInstallDate,
getVersion,
setVersion,
isDebug,
isCI
}