Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NodeSharedCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dojo Project (HES-SO)
Projects
Shared
NodeSharedCode
Compare revisions
77badeab872fc6ce5873c1182b428e9410525f95 to 021300d29473dee2ad229384d22a521c0e5c14aa
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
dojo_project/projects/shared/nodesharedcode
Select target project
No results found
021300d29473dee2ad229384d22a521c0e5c14aa
Select Git revision
Branches
jw_sonar
jw_sonar_backup
main
move-to-esm-only
open_tool_for_self_hosting
v5.0
Tags
v4.1
v4.2
8 results
Swap
Target
dojo_project/projects/shared/nodesharedcode
Select target project
dojo_project/projects/shared/nodesharedcode
1 result
77badeab872fc6ce5873c1182b428e9410525f95
Select Git revision
Branches
jw_sonar
jw_sonar_backup
main
move-to-esm-only
open_tool_for_self_hosting
v5.0
Tags
v4.1
v4.2
8 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (1)
Lint => Update eslint
· 021300d2
michael.minelli
authored
1 year ago
021300d2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
helpers/LazyVal.ts
+1
-1
1 addition, 1 deletion
helpers/LazyVal.ts
helpers/recursiveFilesStats/RecursiveFilesStats.ts
+2
-2
2 additions, 2 deletions
helpers/recursiveFilesStats/RecursiveFilesStats.ts
with
3 additions
and
3 deletions
helpers/LazyVal.ts
View file @
021300d2
...
@@ -9,7 +9,7 @@ class LazyVal<T> {
...
@@ -9,7 +9,7 @@ class LazyVal<T> {
get
value
():
Promise
<
T
>
{
get
value
():
Promise
<
T
>
{
return
new
Promise
<
T
>
(
resolve
=>
{
return
new
Promise
<
T
>
(
resolve
=>
{
if
(
this
.
val
===
undefined
)
{
if
(
this
.
val
===
undefined
)
{
Promise
.
resolve
(
this
.
valLoader
()).
then
((
value
:
T
)
=>
{
void
Promise
.
resolve
(
this
.
valLoader
()).
then
((
value
:
T
)
=>
{
this
.
val
=
value
;
this
.
val
=
value
;
resolve
(
value
);
resolve
(
value
);
});
});
...
...
This diff is collapsed.
Click to expand it.
helpers/recursiveFilesStats/RecursiveFilesStats.ts
View file @
021300d2
...
@@ -75,9 +75,9 @@ class RecursiveFilesStats {
...
@@ -75,9 +75,9 @@ class RecursiveFilesStats {
if
(
callback
)
{
if
(
callback
)
{
fileDir
.
forEach
(
item
=>
{
fileDir
.
forEach
(
item
=>
{
this
.
getStat
(
item
.
path
,
absoluteBasePath
,
options
).
then
(
stat
=>
{
void
this
.
getStat
(
item
.
path
,
absoluteBasePath
,
options
).
then
(
stat
=>
{
if
(
stat
.
isDirectory
!
()
)
{
if
(
stat
.
isDirectory
!
()
)
{
this
.
getFiles
(
absoluteBasePath
,
item
.
path
,
options
,
[],
callback
).
then
();
void
this
.
getFiles
(
absoluteBasePath
,
item
.
path
,
options
,
[],
callback
).
then
();
}
}
callback
(
item
.
path
,
stat
);
callback
(
item
.
path
,
stat
);
});
});
...
...
This diff is collapsed.
Click to expand it.