azure-devops-task-utils 4.0.0 → 4.0.1

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -24,12 +24,12 @@ async function sample() {
24
24
  common.heading('Title');
25
25
 
26
26
 
27
- const webApi: nodeApi.WebApi = await common.getWebApi();
27
+ const webApi: nodeApi.WebApi = common.getWebApi();
28
28
  const gitApi: GitApi.IGitApi = await webApi.getGitApi();
29
29
  const project: string = common.getProject();
30
30
 
31
31
  ///
32
- gitApi.
32
+ await gitApi.
33
33
  .
34
34
  .
35
35
  .
@@ -48,4 +48,4 @@ export SYSTEM_TEAMFOUNDATIONCOLLECTIONURI=https://dev.azure.com/xxxxxxxx/
48
48
 
49
49
  Nota: In Azure DevOps you must activate the option to use auth script in the agents
50
50
 
51
- "Allow scripts to access the OAuth token"
51
+ "Allow scripts to access the OAuth token"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "azure-devops-task-utils",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "Utility library for Azure DevOps tasks",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",