avancement planning

This commit is contained in:
2026-05-26 11:58:39 +02:00
parent 619a2b240a
commit 150b97cd2e
4892 changed files with 99214 additions and 429382 deletions
+8
View File
@@ -1,3 +1,4 @@
const { log } = require('proc-log')
const { resolve, dirname, delimiter } = require('path')
// the path here is relative, even though it does not need to be
// in order to make the posix tests pass in windows
@@ -14,6 +15,13 @@ const setPATH = (projectPath, binPaths, env) => {
const pathArr = []
if (binPaths) {
for (const bin of binPaths) {
if (bin.includes(delimiter)) {
const event = env.npm_lifecycle_event
const context = event ? `"${event}" script` : 'script execution'
log.warn('run-script', `Path contains delimiter ("${delimiter}"), ${context} may not behave as expected.`)
}
}
pathArr.push(...binPaths)
}
// unshift the ./node_modules/.bin from every folder