"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", {
            marketingOnly: false
        });
        if (manifestJson.marketingOnly) {
            throw new Error("\n      \"marketingOnly\" parameter cannot be true for migration\n    ");
        }
        return [2 /*return*/, options];
    });
}); };
