Skip to content

Commit

Permalink
refactor: changes formatting of various statements
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and NimJay committed Nov 18, 2022
1 parent d1f7a81 commit ef4bfef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions dialogflow/detect-intent-sentiment.v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ async function main(
` Score: ${result.sentimentAnalysisResult.queryTextSentiment.score}`
);
console.log(
` Magnitude: ${
result.sentimentAnalysisResult.queryTextSentiment.magnitude
}`
` Magnitude: ${result.sentimentAnalysisResult.queryTextSentiment.magnitude}`
);
} else {
console.log(`No sentiment Analysis Found`);
Expand Down
4 changes: 1 addition & 3 deletions dialogflow/detect.v2beta1.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,7 @@ async function detectIntentandSentiment(
` Score: ${result.sentimentAnalysisResult.queryTextSentiment.score}`
);
console.log(
` Magnitude: ${
result.sentimentAnalysisResult.queryTextSentiment.magnitude
}`
` Magnitude: ${result.sentimentAnalysisResult.queryTextSentiment.magnitude}`
);
} else {
console.log(`No sentiment Analysis Found`);
Expand Down

0 comments on commit ef4bfef

Please sign in to comment.