MCPcopy Create free account
hub / github.com/Azure/powershell / getInlineScriptFile

Method getInlineScriptFile

lib/index.js:8355–8359  ·  view source on GitHub ↗
(inlineScript, errorActionPreference)

Source from the content-addressed store, hash-verified

8353 return this.script;
8354 }
8355 getInlineScriptFile(inlineScript, errorActionPreference) {
8356 this.script = `$ErrorActionPreference = '${errorActionPreference}'${os.EOL}${inlineScript}`;
8357 core.debug(`InlineScript file to be executed: ${this.script}`);
8358 return this.script;
8359 }
8360}
8361exports["default"] = ScriptBuilder;
8362

Callers 1

executeFileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected