Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Addequals() function#770

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
SteveL-MSFT merged 3 commits intoPowerShell:mainfromSteveL-MSFT:equals-function
Apr 30, 2025

Conversation

SteveL-MSFT
Copy link
Member

@SteveL-MSFTSteveL-MSFT commentedApr 28, 2025
edited
Loading

PR Summary

Addequals() function needed for Bicep

Part of#767

@SteveL-MSFTSteveL-MSFT marked this pull request as ready for reviewApril 28, 2025 23:22
@SteveL-MSFTSteveL-MSFT added this pull request to themerge queueApr 30, 2025
Merged via the queue intoPowerShell:main with commit04602e5Apr 30, 2025
4 checks passed
@SteveL-MSFTSteveL-MSFT deleted the equals-function branchApril 30, 2025 21:51
Copy link
Member

@andyleejordanandyleejordan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Ok it's great, and worked, but now I know we also needif (ducks).

2025-04-30T21:58:36.246997Z  INFO dsc_lib::configure: 668: Set parameter 'colorMode' to '"dark"'2025-04-30T21:58:36.247609Z DEBUG dsc_lib::parser: 48: Parsing statement: [if(equals(parameters('colorMode'), 'light'), 1, 0)]2025-04-30T21:58:36.248239Z DEBUG dsc_lib::parser: 84: Parsing expression2025-04-30T21:58:36.248858Z DEBUG dsc_lib::parser::expressions: 43: Parsing function '{Node function (0, 1) - (0, 51)}'2025-04-30T21:58:36.249478Z DEBUG dsc_lib::parser::expressions: 43: Parsing function '{Node function (0, 4) - (0, 44)}'2025-04-30T21:58:36.250067Z DEBUG dsc_lib::parser::expressions: 43: Parsing function '{Node function (0, 11) - (0, 34)}'2025-04-30T21:58:36.250790Z DEBUG dsc_lib::parser::functions: 57: Function name: 'parameters'2025-04-30T21:58:36.253219Z DEBUG dsc_lib::parser::functions: 57: Function name: 'equals'2025-04-30T21:58:36.253851Z DEBUG dsc_lib::parser::functions: 57: Function name: 'if'2025-04-30T21:58:36.254457Z DEBUG dsc_lib::parser::functions: 75: Argument is an expression2025-04-30T21:58:36.255039Z DEBUG dsc_lib::parser::functions: 75: Argument is an expression2025-04-30T21:58:36.255623Z DEBUG dsc_lib::parser::functions: 80: Argument is a value: 'String("colorMode")'2025-04-30T21:58:36.256278Z DEBUG dsc_lib::functions::parameters: 30: parameters function2025-04-30T21:58:36.256900Z DEBUG dsc_lib::parser::functions: 80: Argument is a value: 'String("light")'2025-04-30T21:58:36.257484Z DEBUG dsc_lib::parser::functions: 80: Argument is a value: 'Number(1)'2025-04-30T21:58:36.266986Z DEBUG dsc_lib::parser::functions: 80: Argument is a value: 'Number(0)'2025-04-30T21:58:36.267733Z ERROR dsc::subcommand: 370: Parameter input failure: Parser: Unknown function 'if'

Comment on lines +72 to +73
// TODO: Add tests for arrays once `createArray()` is implemented
// TODO: Add tests for objects once `createObject()` is implemented

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Great, was going to ask based on the docs.

@andyleejordanandyleejordan mentioned this pull requestApr 30, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@andyleejordanandyleejordanandyleejordan approved these changes

@tgauthtgauthtgauth approved these changes

Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@SteveL-MSFT@andyleejordan@tgauth@michaeltlombardi

[8]ページ先頭

©2009-2025 Movatter.jp