We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ce7ddd commit f11b07bCopy full SHA for f11b07b
1 file changed
lib/api.js
@@ -81,7 +81,7 @@ class API {
81
// cache state of plugins, as these will be wiped
82
const plugins = (await new Project({ cwd }).getInstallTargets())
83
.map(p => p.isLocalSource ? p.sourcePath : `${p.name}@${p.requestedVersion}`)
84
-
+
85
await this.installFramework({ version, repository, cwd, logger })
86
// restore plugins
87
await this.installPlugins({ plugins, cwd, logger })
@@ -93,11 +93,11 @@ class API {
93
* @returns {string}
94
*/
95
getCurrentFrameworkVersion ({
96
- cwd = process.cwd(),
+ cwd = process.cwd()
97
} = {}) {
98
return new Project({ cwd }).version
99
}
100
101
/**
102
* @param {Object} options
103
* @param {Object} [options.repository=ADAPT_FRAMEWORK] The github repository url
0 commit comments