# All files / dist/projectTools workspace.js

58.33% Statements 7/12
0% Branches 0/2
0% Functions 0/4
66.67% Lines 4/6

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    164x

    4x

    4x

    4x
     var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.getWorkspaceOptions=exports.listWorkspaces=void 0;var _chalk=_interopRequireDefault(require("chalk"));
    var _prompt=require("../systemTools/prompt");
    var _logger=require("../systemTools/logger");

    var listWorkspaces=function listWorkspaces(c){return new Promise(function(resolve,reject){
    (0,_logger.logTask)('listWorkspaces');
    resolve();
    });};exports.listWorkspaces=listWorkspaces;

    var getWorkspaceOptions=function getWorkspaceOptions(c){var _c$files$configWorksp;return(0,_prompt.generateOptions)((_c$files$configWorksp=c.files.configWorkspaces)==null?void 0:_c$files$configWorksp.workspaces,false,null,function(i,obj,mapping,defaultVal){return"-["+_chalk.default.green(i+1)+"] "+_chalk.default.green(defaultVal)+"\n";});};exports.getWorkspaceOptions=getWorkspaceOptions;
    //# sourceMappingURL=workspace.js.map