UNPKG

@lcap/nasl

Version:

NetEase Application Specific Language

15 lines 534 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isLogicPlayground = void 0; const types_1 = require("../types"); exports.isLogicPlayground = { name: 'is-logic-playground', afterInstruct(action) { // 草稿区的内容,无论前后端都不需要发后端 if (/playground\[(\d+|name[^\]]+)\]/.test(action.path)) { return types_1.RuleResult.Frontend; } return types_1.RuleResult.UnMatch; }, }; //# sourceMappingURL=is-logic-playground.js.map