Skip to content

Commit

Permalink
refactor: renamet function for package update
Browse files Browse the repository at this point in the history
  • Loading branch information
whatsaaaa committed Apr 2, 2021
1 parent 96212ac commit 2846fdc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Cli tool to create Vue plugins with Rollup",
"author": "Aleksandar Milicevic",
"license": "MIT",
"version": "0.1.0",
"version": "0.1.1",
"bin": {
"plugin-init": "./plugin-init.js"
},
Expand Down
4 changes: 2 additions & 2 deletions plugin-init.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function onCancel() {
process.exit();
}

async function checkForUpdates() {
async function checkForCliToolUpdate() {
try {
console.log("Checking for update....");
} catch(err) {
Expand Down Expand Up @@ -76,7 +76,7 @@ async function getLanguage() {
result.language = response.language;
}

checkForUpdates()
checkForCliToolUpdate()
.then(getVersion)
.then(getName)
.then(getLanguage)
Expand Down

0 comments on commit 2846fdc

Please sign in to comment.