You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ra...@apache.org on 2020/07/02 06:42:44 UTC
[cordova-lib] branch master updated: test(fixture-helper): install
android platform by name again (#843)
This is an automated email from the ASF dual-hosted git repository.
raphinesse pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-lib.git
The following commit(s) were added to refs/heads/master by this push:
new 784f6b4 test(fixture-helper): install android platform by name again (#843)
784f6b4 is described below
commit 784f6b4b1667da657d5e77dd3d4792732b08b177
Author: Raphael von der GrĂ¼n <ra...@gmail.com>
AuthorDate: Thu Jul 2 08:42:35 2020 +0200
test(fixture-helper): install android platform by name again (#843)
This reverts an obsolete change from #833 which probably should have
been part of #839.
---
spec/fixture-helper.js | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/spec/fixture-helper.js b/spec/fixture-helper.js
index 6615bba..7ee0352 100644
--- a/spec/fixture-helper.js
+++ b/spec/fixture-helper.js
@@ -65,9 +65,7 @@ module.exports = function fixtureHelper (tmpDir) {
process.chdir(projectPath);
// Talk about a clunky interface :(
- // @todo remove @nightly once Android next major is released.
- const platformFromPackageDependencies = path.resolve(path.dirname(require.resolve('cordova-android')), '../../../');
- const platforms = [platformFromPackageDependencies];
+ const platforms = ['android'];
const opts = { platforms, save: true };
const hooksRunner = new HooksRunner(projectPath);
await platformAdd(hooksRunner, projectPath, platforms, opts);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org