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

Method getInlineScriptFile

src/Utilities/ScriptBuilder.ts:45–49  ·  view source on GitHub ↗
(inlineScript: string, errorActionPreference: string)

Source from the content-addressed store, hash-verified

43 }
44
45 getInlineScriptFile(inlineScript: string, errorActionPreference: string) {
46 this.script = `$ErrorActionPreference = '${errorActionPreference}'${os.EOL}${inlineScript}`
47 core.debug(`InlineScript file to be executed: ${this.script}`);
48 return this.script;
49 }
50}

Callers 1

executeFileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected