Comments (3)
Hi @ActionN - thanks for raising this. It does indeed look like a bug: The resource does not create the file if it does not exist. But it should - so I'll fix this ASAP. I'm snowed under at work for the next two days but I'll try and get to this Thursday night. It should be a fairly straight forward fix, but I'll need to add some integration tests to ensure it's fixed correctly.
from filecontentdsc.
Well, in my case the file did exist. It was just completely empty and didn't have any text in it.
I see what you're saying though, you'd run into a similar road block if the file didn't exist yet.
from filecontentdsc.
Just working on this now.
from filecontentdsc.
Related Issues (20)
- Complete Transfer of Ownership
- Update module to new CI and release process HOT 1
- Correct Pipeline Include Path in Azure Pipeline Build YAML
- Update to Use Latest Version of ModuleBuilder and merge HISTORIC_CHANGELOG
- Convert Module to use DSCResource.Common
- Correct Build.YML to Support ModuleBuilder 1.7.0
- Fix Build Failures due to Pester 5.x
- Enable Automated Documentation Publish to Wiki in Deployment
- Rename master branch to main
- Add ability to specify whether UTF8 files have a BOM or not
- Update GitVersion.yml to use latest pattern
- Update Sampler Build Tasks
- Enable Code Coverage Reporting
- Update Azure DevOps Pipeline Images
- Update CI Pipeline Files from Latest Pattern
- Convert to class-based resources
- Convert tests to Pester 5
- Unable to use Powershell code containing the $ sign as value for the Text key of the KeyValuePairFile resource HOT 1
- KeyValuePairFile: Key Value Pair not removed when 'Ensure' marked as 'Absent'
- Please add support for JSON files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filecontentdsc.