aws-architect 6.6.36 → 6.6.37
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/lib/BucketManager.js +2 -1
- package/package.json +1 -1
package/lib/BucketManager.js
CHANGED
|
@@ -178,7 +178,8 @@ class BucketManager {
|
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
//
|
|
181
|
+
// Ensures a path will be in unix format (that is, forward slash), also on Windows systems.
|
|
182
|
+
// * On windows the nodejs "path" library incorrectly uses backlash (\) even when we aren't writing to the filesystem. So this fixes the paths since we are writing to S3 in this class
|
|
182
183
|
unixify(fullPath) {
|
|
183
184
|
return fullPath.replace(/\\/g, '/');
|
|
184
185
|
}
|