Skip to content
Permalink
Browse files
refactor(Api)!: use version from package.json (#1270)
  • Loading branch information
raphinesse committed Jul 13, 2021
1 parent 68a302e commit 53d60dd70719220a655b1bedb09b20280d92b0d3
Showing 1 changed file with 1 addition and 9 deletions.
@@ -17,15 +17,6 @@
under the License.
*/

/**
* @todo update coho to update this line.
* @todo use `package.json` instead but first
* figure out how this fit in with the platform-centered workflow structure.
* This workflow would not have the `package.json` file.
*/
// Coho updates this line
const VERSION = '10.0.0-dev';

var path = require('path');

var AndroidProject = require('./AndroidProject');
@@ -37,6 +28,7 @@ var ConfigParser = require('cordova-common').ConfigParser;
const prepare = require('./prepare').prepare;

var PLATFORM = 'android';
const VERSION = require('../package').version;

function setupEvents (externalEventEmitter) {
if (externalEventEmitter) {

0 comments on commit 53d60dd

Please sign in to comment.