Skip to content

Commit

Permalink
refactor(Api)!: use version from package.json (#1270)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphinesse authored Jul 13, 2021
1 parent 68a302e commit 53d60dd
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions lib/Api.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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) {
Expand Down

0 comments on commit 53d60dd

Please sign in to comment.