Giter Site home page Giter Site logo

Comments (4)

bryanmacfarlane avatar bryanmacfarlane commented on August 18, 2024

I thought of that - we don't care since trace is a troubleshooting mechanism for a single call. So you would troubleshoot a single call (with --json), figure it out and then turn it off.

from tfs-cli.

teddyward avatar teddyward commented on August 18, 2024

Ok that makes sense. I'll just add a trace statement to the parse exec method to remind users to turn off trace

from tfs-cli.

jessehouwing avatar jessehouwing commented on August 18, 2024

The same happens for warnings. Which is really annoying. Even with tracing turned off.

C:\Users\jhouw\Source\Repos\vsts-extension-tasks [master +1 ~4 -0 !]> tfx extension create --json --root . --no-prompt -
-manifest-globs extension-manifest.json 3> NULL | ConvertFrom-Json
ConvertFrom-Json : Invalid JSON primitive: Could.
At line:1 char:101
+ ... t --manifest-globs extension-manifest.json 3> NULL | ConvertFrom-Json
+                                                          ~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [ConvertFrom-Json], ArgumentException
    + FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.ConvertFromJsonCommand

Result looks like:

Could not determine content type for extension .pssproj. Defaulting to application/octet-stream. To override this, add a contentType property to this file entry in the manifest.
Could not determine content type for extension .lastpatched. Defaulting to application/octet-stream. To override this, add a contentType property to this file entry in the manifest.
Could not determine content type for extension .psm1. Defaulting to application/octet-stream. To override this, add a contentType property to this file entry in the manifest.
{
    "path": "C:\\Users\\jhouw\\Source\\Repos\\vsts-extension-tasks\\jessehouwing.jessehouwing-vsts-extension-tasks-TEST-0.0.41.vsix",
    "extensionId": "jessehouwing-vsts-extension-tasks-TEST",
    "publisher": "jessehouwing"
}

from tfs-cli.

T-Hugs avatar T-Hugs commented on August 18, 2024

Good call, I'll fix this next week.

On Sat, Feb 27, 2016 at 5:18 PM, Jesse Houwing [email protected]
wrote:

The same happens for warnings. Which is really annoying. Even with tracing
turned off.

C:\Users\jhouw\Source\Repos\vsts-extension-tasks [master +1 ~4 -0 !]> tfx extension create --json --root . --no-prompt -
-manifest-globs extension-manifest.json 3> NULL | ConvertFrom-Json
ConvertFrom-Json : Invalid JSON primitive: Could.
At line:1 char:101

  • ... t --manifest-globs extension-manifest.json 3> NULL | ConvertFrom-Json
  •                                                      ~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [ConvertFrom-Json], ArgumentException
    • FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.ConvertFromJsonCommand

Result looks like:

Could not determine content type for extension .pssproj. Defaulting to application/octet-stream. To override this, add a contentType property to this file entry in the manifest.
Could not determine content type for extension .lastpatched. Defaulting to application/octet-stream. To override this, add a contentType property to this file entry in the manifest.
Could not determine content type for extension .psm1. Defaulting to application/octet-stream. To override this, add a contentType property to this file entry in the manifest.
{
"path": "C:\Users\jhouw\Source\Repos\vsts-extension-tasks\jessehouwing.jessehouwing-vsts-extension-tasks-TEST-0.0.41.vsix",
"extensionId": "jessehouwing-vsts-extension-tasks-TEST",
"publisher": "jessehouwing"
}


Reply to this email directly or view it on GitHub
#9 (comment).

from tfs-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.