MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / getRunArguments

Method getRunArguments

src/plugins/javascript/jsgenerator.cpp:128–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128RunCommandInfo JSGenerator::getRunArguments(const ProjectInfo &projectInfo, const QString &currentFile)
129{
130 Q_UNUSED(projectInfo)
131 if (!QFile::exists(currentFile)) {
132 OutputPane::instance()->appendText(tr("Please open a JS file in editor!"), OutputPane::ErrorMessage);
133 }
134 return {"node", {currentFile}, "", {}, false};
135}

Callers

nothing calls this directly

Calls 1

appendTextMethod · 0.80

Tested by

no test coverage detected