Skip to content

Commit

Permalink
New: using aurelia-cli's interactive features (questions, option choo…
Browse files Browse the repository at this point in the history
…ser)

Version bump to 0.2.0
  • Loading branch information
martonsagi committed Nov 8, 2016
1 parent aea865e commit 1c73478
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/analyzer.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ module.exports = class {
instance = discover(pkgName);
}

if (instance === null) {
if (!instance) {
return null;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/import-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ module.exports = class {
source = path.resolve(__dirname, `../tasks/${taskName}`);
fs.copySync(`${source}.js`, destFile);
} catch (ex) {
throw new Error(`CLI Task '${taskName}' was not found. Process aborted...`);
throw new Error(`CLI Task '${taskName}' was not found: ${source}. Process aborted...`);
}
}

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-cli-pacman",
"version": "0.1.2",
"version": "0.2.0",
"author": "Marton Sagi <hello@martonsagi.me>",
"description": "Extension to provide aurelia-cli with package management capabilities",
"homepage": "https://github.com/martonsagi/aurelia-cli-pacman",
Expand All @@ -24,6 +24,7 @@
},
"dependencies": {
"aurelia-cli": "^0.21.0",
"bluebird": "^3.4.1",
"fs-extra": "^0.30.0",
"rfc6902": "^1.2.2"
}
Expand Down

0 comments on commit 1c73478

Please sign in to comment.