screwdriver-api 8.0.8 → 8.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "screwdriver-api",
3
- "version": "8.0.8",
3
+ "version": "8.0.9",
4
4
  "description": "API server for the Screwdriver.cd service",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -229,7 +229,7 @@ function hasChangesUnderRootDir(pipeline, changedFiles) {
229
229
 
230
230
  // Only check if rootDir is set
231
231
  if (rootDir) {
232
- return changes.some(file => file.startsWith(rootDir));
232
+ return changes.some(file => file.startsWith(`${rootDir}/`));
233
233
  }
234
234
 
235
235
  return true;