|
|
@@ -26,7 +26,7 @@ function gcsConfig() {
|
|
|
apiScheme: process.env.GCS_API_SCHEME,
|
|
|
projectId: 'fake',
|
|
|
},
|
|
|
- directoryKeyRegex: new RegExp('^[0-9a-fA-F]{24}/[0-9a-fA-F]{24}'),
|
|
|
+ directoryKeyRegex: /^[0-9a-fA-F]{24}\/[0-9a-fA-F]{24}/,
|
|
|
unlockBeforeDelete: false, // fake-gcs does not support this
|
|
|
deletedBucketSuffix: '-deleted',
|
|
|
}
|