Skip to content
Closed
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions lib/node_modules/@stdlib/_tools/github/get/lib/cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,13 @@
* @returns {Array} cache
*/
function create( size ) {
return new Array( size );
const cache = [];
for (let i = 0; i < size; i++) {
cache.push(undefined);
}
return cache;
Copy link
Member

Choose a reason for hiding this comment

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

Hey @jalajk3004,
Before working on new issues on fixing lint errors. Please take a look back at your other PR's on C lint errors as you have been adding the same change in this file through out other PR's as well. Whilst the issue demands for a different change.

Copy link
Member

Choose a reason for hiding this comment

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

ref: #5516

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Dear @Neerajpathak07,

I am encountering an issue while working on multiple Git branches. I initially created a separate branch to resolve issue #5502 and committed the necessary changes. Subsequently, I started working on issue #5453 and created another separate branch for it. However, I noticed that the commits from #5502 were also present in the branch for #5453.

A similar issue occurred while working on #5468. When I submitted a pull request for this issue, it automatically included the commits from the previous issues.

I would appreciate your guidance on how to prevent this from happening and ensure that each branch contains only the relevant commits.

Looking forward to your advice.

Copy link
Member

Choose a reason for hiding this comment

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

You need to always be branching from develop. Do not branch from another one of the branches you created.

cc @aayush0325 This is probably something we should include in the development FAQs, as this is not uncommon.

Copy link
Member

Choose a reason for hiding this comment

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

makes sense, i'll be adding it soon!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for your guidance. I appreciate the clarification and will ensure that I always branch from develop moving forward. I will keep this in mind and apply it while resolving the issue.

}


// EXPORTS //

module.exports = create;
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
* @module @stdlib/_tools/makie/plugins/makie-install-node-addons
*
* @example
* var plugin = require( '@stdlib/_tools/makie/plugins/makie-install-node-addons' );
* var makie = require( '@stdlib/_tools/makie' );
* var plugin = require( '@stdlib/_tools/makie/plugins/makie-install-node-addons' );
* var opts = {
* 'plugins': {
* 'benchmark': plugin
Expand All @@ -43,4 +43,4 @@ var main = require( './main.js' );

// EXPORTS //

module.exports = main;
module.exports = main;
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ var debug = logger( 'browser-entry-points:sync' );
* var pkgs = [ '/foo/bar/baz' ];
*
* var entries = entryPoints( pkgs );
* // returns [{...}]
* // throws <Error>
*/
function entryPoints( pkgs, options ) {
var results;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
{
"options": {},
"fields": [
{
"field": "src",
"resolve": true,
"relative": true
},
{
"field": "include",
"resolve": true,
"relative": true
},
{
"field": "libraries",
"resolve": false,
"relative": false
},
{
"field": "libpath",
"resolve": true,
"relative": false
}
],
"confs": [
{
"src": [
"./src/main.c"
],
"include": [
"./include"
],
"libraries": [],
"libpath": [],
"dependencies": [
"@stdlib/ndarray/base/assert/is-safe-data-type-cast",
"@stdlib/ndarray/base/assert/is-mostly-safe-data-type-cast",
"@stdlib/ndarray/base/assert/is-same-kind-data-type-cast",
"@stdlib/ndarray/casting-modes",
"@stdlib/ndarray/dtypes"
]
}
]
"options": {},
"fields": [
{
"field": "src",
"resolve": true,
"relative": true
},
{
"field": "include",
"resolve": true,
"relative": true
},
{
"field": "libraries",
"resolve": false,
"relative": false
},
{
"field": "libpath",
"resolve": true,
"relative": false
}
],
"confs": [
{
"src": [
"./src/main.c"
],
"include": [
"./include"
],
"libraries": [],
"libpath": [],
"dependencies": [
"@stdlib/ndarray/base/assert/is-safe-data-type-cast",
"@stdlib/ndarray/base/assert/is-mostly-safe-data-type-cast",
"@stdlib/ndarray/base/assert/is-same-kind-data-type-cast",
"@stdlib/ndarray/casting-modes",
"@stdlib/ndarray/dtypes"
]
}
]
}
72 changes: 36 additions & 36 deletions lib/node_modules/@stdlib/ndarray/safe-casts/manifest.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
{
"options": {},
"fields": [
{
"field": "src",
"resolve": true,
"relative": true
},
{
"field": "include",
"resolve": true,
"relative": true
},
{
"field": "libraries",
"resolve": false,
"relative": false
},
{
"field": "libpath",
"resolve": true,
"relative": false
}
],
"confs": [
{
"src": [],
"include": [
"./include"
],
"libraries": [],
"libpath": [],
"dependencies": [
"@stdlib/ndarray/dtypes"
]
}
]
"options": {},
"fields": [
{
"field": "src",
"resolve": true,
"relative": true
},
{
"field": "include",
"resolve": true,
"relative": true
},
{
"field": "libraries",
"resolve": false,
"relative": false
},
{
"field": "libpath",
"resolve": true,
"relative": false
}
],
"confs": [
{
"src": [],
"include": [
"./include"
],
"libraries": [],
"libpath": [],
"dependencies": [
"@stdlib/ndarray/dtypes"
]
}
]
}
76 changes: 38 additions & 38 deletions lib/node_modules/@stdlib/number/float64/base/signbit/manifest.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
{
"options": {},
"fields": [
{
"field": "src",
"resolve": true,
"relative": true
},
{
"field": "include",
"resolve": true,
"relative": true
},
{
"field": "libraries",
"resolve": false,
"relative": false
},
{
"field": "libpath",
"resolve": true,
"relative": false
}
],
"confs": [
{
"src": [
"./src/main.c"
],
"include": [
"./include"
],
"libraries": [],
"libpath": [],
"dependencies": [
"@stdlib/number/float64/base/get-high-word"
]
}
]
"options": {},
"fields": [
{
"field": "src",
"resolve": true,
"relative": true
},
{
"field": "include",
"resolve": true,
"relative": true
},
{
"field": "libraries",
"resolve": false,
"relative": false
},
{
"field": "libpath",
"resolve": true,
"relative": false
}
],
"confs": [
{
"src": [
"./src/main.c"
],
"include": [
"./include"
],
"libraries": [],
"libpath": [],
"dependencies": [
"@stdlib/number/float64/base/get-high-word"
]
}
]
}
Loading