Skip to content

Commit

Permalink
fix: split
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 22, 2025
1 parent b39caf9 commit 928716d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
14 changes: 7 additions & 7 deletions src/CysharpActions/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
},
"update-version": {
"commandName": "Project",
"commandLineArgs": "update-version --version 1.0.0 --path-string \"./dummy/package.json\\n./dummy/plugin.cfg\\n./dummy/Directory.Build.props\"",
"commandLineArgs": "update-version --version 1.0.0 --path-string \"./dummy/package.json\"",
"environmentVariables": {
"GITHUB_EVENT_NAME": "pull_request",
"GITHUB_REPOSITORY": "Cysharp/Actions",
Expand Down Expand Up @@ -109,19 +109,19 @@
},
"WSL (update-version)": {
"commandName": "WSL2",
"distributionName": "",
"commandLineArgs": "\"{OutDir}/Actions.dll\" update-version --version 1.0.0 --path-string \"./dummy/package.json\n./dummy/plugin.cfg\n./dummy/Directory.Build.props\"",
"commandLineArgs": "\"{OutDir}/CysharpActions.dll\" update-version --version 1.0.0 --path-string \"./dummy/package.json\n./dummy/plugin.cfg\n./dummy/Directory.Build.props\"",
"environmentVariables": {
"GITHUB_EVENT_NAME": "pull_request",
"GITHUB_REPOSITORY": "Cysharp/Actions",
"GITHUB_RUN_ID": "11350100787",
"GITHUB_SERVER_URL": "https://github.com"
}
},
"distributionName": ""
},
"WSL (debug)": {
"commandName": "WSL2",
"distributionName": "",
"commandLineArgs": "\"{OutDir}/Actions.dll\" debug"
"commandLineArgs": "\"{OutDir}/CysharpActions.dll\" debug",
"distributionName": ""
}
}
}
}
3 changes: 1 addition & 2 deletions src/CysharpActions/Utils/ZxHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@ public static string EscapeArg(string command)
return "\"" + command + "\"";
}

public static string[] ToMultiLine(this string stringsValue) => stringsValue.Split(["\\r\\n", "\\n"], StringSplitOptions.RemoveEmptyEntries);

public static string[] ToMultiLine(this string stringsValue) => stringsValue.Split(["\r\n", "\n"], StringSplitOptions.RemoveEmptyEntries);
}

0 comments on commit 928716d

Please sign in to comment.