We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a82597e commit 573fde4Copy full SHA for 573fde4
language/language.php
@@ -168,7 +168,7 @@
168
// Regex to match a Cloud Storage path as the first argument
169
// e.g "gs://my-bucket/file_with_text.txt"
170
if (preg_match('/^gs:\/\/([a-z0-9\._\-]+)\/(\S+)$/', $content, $matches)) {
171
- analyze_sentiment_from_file($matches[0], $projectId);
+ analyze_sentiment_from_file($content, $projectId);
172
} else {
173
analyze_sentiment($content, $projectId);
174
}
0 commit comments