Skip to content

Non-empty workflow should work #1221

Closed
Closed

Description

@vors

Steps to reproduce

Run Full PS with Start-DevPSGitHub

Then inside it execute a simple workflow

PS F:\dev\PowerShell> workflow wfTest { Split-Path $pwd }; wfTest

Expected behavior

Executes fine

Actual behavior

Cannot overwrite variable IsLinux because it is read-only or constant.
    + CategoryInfo          : WriteError: (IsLinux:String) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : VariableNotWritable
    + PSComputerName        : [localhost]

Environment data

> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      5.1.10032.0
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   3.0.0.0
GitCommitId                    v0.5.0-138-gbc88c1ba1f575bc70e1ca7e4d1bdc528a5a4ac92-dirty
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
$ dotnet --info
.NET Command Line Tools (1.0.0-preview3-003161)

Product Information:
 Version:            1.0.0-preview3-003161
 Commit SHA-1 hash:  63846c5751

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.10586
 OS Platform: Windows
 RID:         win10-x64

$ git rev-parse HEAD; git status

f34363c974209b19c20601af6e821d408f3806af
On branch vors/build
nothing to commit, working directory clean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions