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

Commitad41e8c

Browse files
raklaptudirmgithub-actions
and
github-actions
authored
fix: spellings which are making ci fail (TheAlgorithms#1089)
* Updated Documentation in README.md* chore: remove wrong spelling* ci: recognize "falsy" as correct spelling* chore: fix spellingCo-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
1 parenta133529 commitad41e8c

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

‎.github/workflows/Ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ jobs:
3535
with:
3636
# file types to ignore
3737
skip:"*.json,*.yml,DIRECTORY.md"
38-
ignore_words_list:"ba,esy,yse"
38+
ignore_words_list:"ba,esy,yse,falsy"

‎DIRECTORY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@
170170
*[IsEven](Maths/IsEven.js)
171171
*[IsOdd](Maths/IsOdd.js)
172172
*[IsPronic](Maths/IsPronic.js)
173+
*[JugglerSequence](Maths/JugglerSequence.js)
173174
*[LeapYear](Maths/LeapYear.js)
174175
*[LinearSieve](Maths/LinearSieve.js)
175176
*[LucasSeries](Maths/LucasSeries.js)

‎Maths/PiApproximationMonteCarlo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const piEstimation = (iterations = 100000) => {
1313
if(radius<1)circleCounter+=1
1414
}
1515

16-
//fomula for pi = (ratio of number inside circle and total iteration) x 4
16+
//formula for pi = (ratio of number inside circle and total iteration) x 4
1717
constpi=(circleCounter/iterations)*4
1818
returnpi
1919
}

‎String/CheckAnagram.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ const checkAnagramRegex = (str1, str2) => {
2222
/**
2323
* str1 converted to an array and traverse each letter of str1 by reduce method
2424
* reduce method return string which is empty or not.
25-
* if it returns empty string '' -> falsy, with Logical !(NOT) Operator, it's will be converted to boolean and return true else false
2625
*/
2726
return![...str1].reduce(
2827
(str2Acc,cur)=>str2Acc.replace(newRegExp(cur,'i'),''),// remove the similar letter from str2Acc in case-insensitive

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp