"use strict";
var _this = this;
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
exports.default = function (options) { return tslib_1.__awaiter(_this, void 0, void 0, function () {
    var src, manifestJson;
    return tslib_1.__generator(this, function (_a) {
        src = options.get("src");
        manifestJson = options.get("editor").readJSON(src + "/manifest.json", {
            frameworkVersion: "2.0"
        });
        if (parseFloat(manifestJson.frameworkVersion) >= 2) {
            throw new Error("\n      \"frameworkVersion\" parameter must be less than 2.0\n    ");
        }
        return [2 /*return*/, options];
    });
}); };
